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
xkcdpass: py2 -> py3, add manpage and run tests #110744
Conversation
pname = "xkcdpass"; | ||
version = "1.17.6"; | ||
|
||
src = fetchPypi { | ||
src = python3Packages.fetchPypi { |
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.
src = python3Packages.fetchPypi { | |
src = fetchPypi { |
Using python3Packages in python-modules is not allowed because it breaks multiple python versions. Use |
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.
You need to change pkgs/top-level/all-packages.nix
:
- xkcdpass = with pythonPackages; toPythonApplication xkcdpass;
+ xkcdpass = with python3Packages; toPythonApplication xkcdpass;
Thanks for the input guys. |
@GrahamcOfBorg build xkcdpass |
description = "Generate secure multiword passwords/passphrases, inspired by XKCD"; | ||
homepage = "https://pypi.python.org/pypi/xkcdpass/"; |
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.
Moving homepage
seems unintentional.
Motivation for this change
Drive-by cleanup
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)