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
pyp: init at 1.0.0 #87605
pyp: init at 1.0.0 #87605
Conversation
@@ -0,0 +1,29 @@ | |||
{ lib, fetchFromGitHub, python3Packages, pkgs }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No pkgs but explicit parameters such as jq and bc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks. I felt a bit silly adding dependencies just because of two tests, but as long as they're not in the actual closure that's okay I suppose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working a expected.
I marked this as stale due to inactivity. → More info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool tool, tested with:
nix-build -A pyp
ls | ./result/bin/pyp 'x[:3]'
@Kha would you still like to be mentioned as maintainer? |
Sure, feel free to add yourself as well |
@Kha are you still interested in getting this merged? |
It looks like this is superseded by #244924 . |
As featured on Hacker News: run Python one-liners with ease
I took the sources from Github instead of pypi because the latter doesn't include tests, if that makes sense.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)