Merge pull request #183085 from usertam/patch-reptyr

reptyr: 0.7.0 -> 0.9.0
This commit is contained in:
7c6f434c 2022-07-29 17:28:06 +00:00 committed by GitHub
commit ba37b5bd5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,16 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, python2 }:
{ stdenv, lib, fetchFromGitHub, python2 }:
stdenv.mkDerivation rec {
version = "0.7.0";
version = "0.9.0";
pname = "reptyr";
src = fetchFromGitHub {
owner = "nelhage";
repo = "reptyr";
rev = "reptyr-${version}";
sha256 = "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj";
sha256 = "sha256-gM3aMEqk71RWUN1NxByd21tIzp6PmJ54Cqrh5MsjHtI=";
};
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 ])) ];
@ -34,6 +26,7 @@ stdenv.mkDerivation rec {
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
"riscv64-linux"
];
maintainers = with lib.maintainers; [raskin];
license = lib.licenses.mit;