pythonPackages.xkcdpass: refactor move to python-modules
This commit is contained in:
parent
a80b2e3543
commit
82878eaade
25
pkgs/development/python-modules/xkcdpass/default.nix
Normal file
25
pkgs/development/python-modules/xkcdpass/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4485,25 +4485,7 @@ in {
|
|||||||
xgboost = pkgs.xgboost;
|
xgboost = pkgs.xgboost;
|
||||||
};
|
};
|
||||||
|
|
||||||
xkcdpass = buildPythonPackage rec {
|
xkcdpass = callPackage ../development/python-modules/xkcdpass { };
|
||||||
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 = [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
xlsx2csv = buildPythonPackage rec {
|
xlsx2csv = buildPythonPackage rec {
|
||||||
name = "xlsx2csv-${version}";
|
name = "xlsx2csv-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user