pythonPackages.xkcdpass: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 15:03:54 -04:00
parent a80b2e3543
commit 82878eaade
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "xkcdpass";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "4c1f8bee886820c42ccc64c15c3a2275dc6d01028cf6af7c481ded87267d8269";
};
# No tests included
# https://github.com/redacted/XKCD-password-generator/issues/32
doCheck = false;
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/xkcdpass/;
description = "Generate secure multiword passwords/passphrases, inspired by XKCD";
license = licenses.bsd3;
};
}

View File

@ -4485,25 +4485,7 @@ in {
xgboost = pkgs.xgboost;
};
xkcdpass = buildPythonPackage rec {
name = "xkcdpass-${version}";
version = "1.4.2";
src = pkgs.fetchurl {
url = "mirror://pypi/x/xkcdpass/xkcdpass-1.4.2.tar.gz";
sha256 = "4c1f8bee886820c42ccc64c15c3a2275dc6d01028cf6af7c481ded87267d8269";
};
# No tests included
# https://github.com/redacted/XKCD-password-generator/issues/32
doCheck = false;
meta = {
homepage = https://pypi.python.org/pypi/xkcdpass/;
description = "Generate secure multiword passwords/passphrases, inspired by XKCD";
license = licenses.bsd3;
maintainers = [ ];
};
};
xkcdpass = callPackage ../development/python-modules/xkcdpass { };
xlsx2csv = buildPythonPackage rec {
name = "xlsx2csv-${version}";