From f9f2d3a5713c2b08c38008c98d97224ed6d203f4 Mon Sep 17 00:00:00 2001 From: Samuel Tam Date: Sun, 17 Jul 2022 18:17:10 +0800 Subject: [PATCH] reptyr: 0.7.0 -> 0.9.0 --- pkgs/os-specific/linux/reptyr/default.nix | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/pkgs/os-specific/linux/reptyr/default.nix b/pkgs/os-specific/linux/reptyr/default.nix index 0e635583d64..f02b0acd349 100644 --- a/pkgs/os-specific/linux/reptyr/default.nix +++ b/pkgs/os-specific/linux/reptyr/default.nix @@ -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;