reptyr: 0.7.0 -> 0.9.0

This commit is contained in:
Samuel Tam 2022-07-17 18:17:10 +08:00 committed by usertam
parent fe4be92e42
commit f9f2d3a571
No known key found for this signature in database
GPG Key ID: C35F5FF3A6C5AC43

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;