python311Packages.xkcdpass: refactor
This commit is contained in:
parent
0389e2c757
commit
6619849f93
|
@ -5,12 +5,13 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonAtLeast
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xkcdpass";
|
pname = "xkcdpass";
|
||||||
version = "1.19.9";
|
version = "1.19.9";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -23,6 +24,10 @@ buildPythonPackage rec {
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
@ -43,9 +48,9 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generate secure multiword passwords/passphrases, inspired by XKCD";
|
description = "Generate secure multiword passwords/passphrases, inspired by XKCD";
|
||||||
mainProgram = "xkcdpass";
|
|
||||||
homepage = "https://github.com/redacted/XKCD-password-generator";
|
homepage = "https://github.com/redacted/XKCD-password-generator";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
mainProgram = "xkcdpass";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user