mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #75078 from lopsided98/reptyr-tests-fix
reptyr: add patch to fix tests
This commit is contained in:
commit
7ac75c70f2
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, python2 }:
|
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.0";
|
||||
|
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix tests hanging
|
||||
(fetchpatch {
|
||||
url = "https://github.com/nelhage/reptyr/commit/bca3070ac0f3888b5d37ee162505be81b3b496ff.patch";
|
||||
sha256 = "0w6rpv9k4a80q0ijzdq5hlpr37ncr284piqjv5agy8diniwlilab";
|
||||
})
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
|
||||
|
||||
checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ];
|
||||
|
|
Loading…
Reference in a new issue