python311Packages.xkcdpass: refactor

This commit is contained in:
Fabian Affolter 2024-04-02 09:04:29 +02:00 committed by GitHub
parent 0389e2c757
commit 6619849f93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -5,12 +5,13 @@
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "xkcdpass";
version = "1.19.9";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,6 +24,10 @@ buildPythonPackage rec {
installShellFiles
];
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
@ -43,9 +48,9 @@ buildPythonPackage rec {
meta = with lib; {
description = "Generate secure multiword passwords/passphrases, inspired by XKCD";
mainProgram = "xkcdpass";
homepage = "https://github.com/redacted/XKCD-password-generator";
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
mainProgram = "xkcdpass";
};
}