Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to package localstack #50445

Closed
CMCDragonkai opened this issue Nov 16, 2018 · 6 comments · Fixed by #188118
Closed

Request to package localstack #50445

CMCDragonkai opened this issue Nov 16, 2018 · 6 comments · Fixed by #188118
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 9.needs: package (new)

Comments

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Nov 16, 2018

https://github.com/localstack/localstack is a fully functional local AWS cloud stack. It allows you to mock AWS services and develop tests for applications that rely on AWS.

If nobody gets around to this, I may work on this later.

@mogorman
Copy link
Contributor

i started a pr for this will try to get more to it so it can be merged

@stale
Copy link

stale bot commented Jun 2, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@risicle risicle removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Sep 6, 2020
@risicle
Copy link
Contributor

risicle commented Sep 6, 2020

Removing stale label as I've been looking into this more.

A few tricky things about localstack that I've discovered in researching this:

  1. "localstack"'s code seems quite interwoven with the code for "localstack pro". For instance the main package localstack depends on localstack_ext, a package that exists on pypi but for which the source is not publicly hosted. You can of course download the tarball from pypi and read the source, though much of it seems to have been minified, but the largest chunk of that package seems to consist of .py.enc files - encrypted python files. I guess these get "unlocked" when you pay for "localstack pro". I think it's a bit creepy to have all this mystery code floating about and I'd be hard pressed to call this an "open source" dependency. Maybe we'd be able to just do a find . -name '*.enc' -delete in a postFixup to avoid installing this on people's machines and this would be fine, I don't know.
  2. It appears to depend on a forked moto, which they host at https://github.com/whummer/moto and publish as the pypi package moto-ext https://pypi.org/project/moto-ext. The problem is that this package still retains the toplevel import name moto, and so we wouldn't be able to include this package in pythonPackages due to the "no colliding packages" policy. It would would still be possible to keep localstack as a regular application, not exposing its internal moto-ext outside the derivation.

@CMCDragonkai
Copy link
Member Author

Is it possible to bring in a python dep without propagating it?

@stale
Copy link

stale bot commented Mar 16, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 16, 2021
@jonringer
Copy link
Contributor

might be 40 months late, but I took a stab at this.

jonringer added a commit that referenced this issue Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 9.needs: package (new)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants