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
snakemake: init at 5.2.2 #45828
snakemake: init at 5.2.2 #45828
Conversation
name = "snakemake"; | ||
version = "5.2.2"; | ||
in python3Packages.buildPythonApplication { | ||
name = "${name}-${version}"; |
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.
please use pname
and version
attributes instead of your own name definition
in python3Packages.buildPythonApplication { | ||
name = "${name}-${version}"; | ||
|
||
src = fetchurl { |
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.
Any reason not to use fetchFromBitBucket
here?
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.
Nope, only a noob not knowing better. :-)
@@ -0,0 +1,42 @@ | |||
{ stdenv, fetchurl, python3Packages }: |
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.
Does the author of snakemake say this only works on python3? It seems like you could specify python3 in the top-level/all-packages.nix
instead of making this derivation specific.
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.
Yes, Snakemake requires python >= 3.5.
However, it's makes sense set the python version at top-level/all-packages.nix
. Done.
91d4f8c
to
d44ff4f
Compare
Ops, I didn't search for a snakemake PR before posting this, and did not known of the #45730. Should I remove this PR? |
closing as duplicate of #45730 |
Motivation for this change
Adds the snakemake program.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)