mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
ae0f5d2705
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/diceware/versions
32 lines
723 B
Nix
32 lines
723 B
Nix
{ lib
|
|
, pythonPackages
|
|
}:
|
|
|
|
with pythonPackages;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "diceware";
|
|
version = "0.9.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby";
|
|
};
|
|
|
|
nativeBuildInputs = [ pytestrunner ];
|
|
|
|
checkInputs = [ coverage pytest ];
|
|
|
|
# see https://github.com/ulif/diceware/commit/a7d844df76cd4b95a717f21ef5aa6167477b6733
|
|
checkPhase = ''
|
|
py.test -m 'not packaging'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Generates passphrases by concatenating words randomly picked from wordlists";
|
|
homepage = https://github.com/ulif/diceware;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ asymmetric ];
|
|
};
|
|
}
|