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
python: add geographiclib and update geopy #51839
Conversation
@@ -11,7 +11,7 @@ | |||
buildPythonPackage rec { | |||
pname = "geopy"; | |||
version = "1.18.0"; | |||
disabled = !isPy27; | |||
disabled = false; |
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.
Maybe just remove the line completely?
buildPythonPackage rec { | ||
pname = "geographiclib"; | ||
version = "1.49"; | ||
disabled = false; |
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.
disabled = false; |
sha256 = "635da648fce80a57b81b28875d103dacf7deb12a3f5f7387ba7d39c51e096533"; | ||
}; | ||
|
||
doCheck = false; # too much |
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.
Too much what? Please add a meaningful comment
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.
This was copy-pasted from geopy package. It probably shouldn't belong in this newly created file.
doCheck = false; # too much | ||
|
||
meta = with stdenv.lib; { | ||
homepage = "https://geographiclib.sourceforge.io"; |
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.
homepage = "https://geographiclib.sourceforge.io"; | |
homepage = https://geographiclib.sourceforge.io; |
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.
The last two commits should be squashed together using the commit message pythonPackages.geopy: 1.11 -> 1.18
Nothing happening so closing. |
Motivation for this change
my first nixpkgs PR. Let me know if something should be different.
(1) added geographiclib from pip.
(2) updated geopy from 1.11 -> 1.18
(3) enabled python3 support for geopy
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)