mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #268540 from tribals/master
Fix failing build of `xkcdpass` due to non-deterministic test
This commit is contained in:
commit
be9cb506b6
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
@ -19,6 +20,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-zEgC3tTQ6kwDovHPHRTvYndWVF79DpnAX454VDZiedE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-non-deterministic-test.patch";
|
||||
url = "https://github.com/redacted/XKCD-password-generator/commit/72d174a82822af1934c94de1b66fd956230142f5.patch";
|
||||
hash = "sha256-GES40GHM0+Zx8bRceCy9/fOHJVlWZ7TCLfzhZczjfTE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user