diff --git a/pkgs/tools/security/diceware/default.nix b/pkgs/tools/security/diceware/default.nix index dadeccd46a08..ce7f1d0e1b4b 100644 --- a/pkgs/tools/security/diceware/default.nix +++ b/pkgs/tools/security/diceware/default.nix @@ -7,28 +7,16 @@ with pythonPackages; buildPythonApplication rec { pname = "diceware"; - version = "0.9.3"; + version = "0.9.4"; src = fetchPypi { inherit pname version; - sha256 = "0p09q6945qvdmvckjl8rfqx0g8nf6igc3c6rab6v74k9bsmbf15p"; + sha256 = "0855n4dh16ws1dhw1ixxwk3wx7qr45xff7pn32pjg58p4z4cx168"; }; nativeBuildInputs = [ pytestrunner ]; - checkInputs = [ pytest ]; - - # NOTE: remove once 0.9.4 is released - patches = [ - (fetchpatch { - url = "${meta.homepage}/commit/86379bf49ade2b486071d6d330515f01ecb06ab4.patch"; - sha256 = "0nxvxiqvxfsa9y6zwy9k7shsd0fk92psdzi4klqwd4wy3lbmw8di"; - }) - (fetchpatch { - url = "${meta.homepage}/commit/a7d844df76cd4b95a717f21ef5aa6167477b6733.patch"; - sha256 = "0ab4fc2pbl2hcxqw5rr6awbhlnmdna6igqjijywwr1byzb7ga4iq"; - }) - ]; + checkInputs = [ coverage pytest ]; # see https://github.com/ulif/diceware/commit/a7d844df76cd4b95a717f21ef5aa6167477b6733 checkPhase = ''