From 0bf74112110f225bde9017bd0940226aad1f3155 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 2 Jan 2022 08:38:00 -0800 Subject: [PATCH] libpoly: 0.1.10 -> 0.1.11 * libpoly: 0.1.10 -> 0.1.11 (#144410) * libpoly: remove unneeded postPatch (fixed upstream by now) Co-authored-by: Renaud --- pkgs/applications/science/logic/poly/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/science/logic/poly/default.nix b/pkgs/applications/science/logic/poly/default.nix index c80b9bf1f0c4..7eff519375f2 100644 --- a/pkgs/applications/science/logic/poly/default.nix +++ b/pkgs/applications/science/logic/poly/default.nix @@ -2,23 +2,16 @@ stdenv.mkDerivation rec { pname = "libpoly"; - version = "0.1.10"; + version = "0.1.11"; src = fetchFromGitHub { owner = "SRI-CSL"; repo = "libpoly"; # they've pushed to the release branch, use explicit tag rev = "refs/tags/v${version}"; - sha256 = "sha256-22Y4L5NFnCzKwZt0A/ChMuGPU4Dk1Qyke6mdvfN063w="; + sha256 = "sha256-vrYB6RQYShipZ0c0j1KcSTJR1h0rQKAAeJvODMar1GM="; }; - # https://github.com/SRI-CSL/libpoly/pull/52 - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace src/CMakeLists.txt --replace \ - '"utils/open_memstream.c ''${poly_SOURCES}"' \ - 'utils/open_memstream.c ''${poly_SOURCES}' - ''; - nativeBuildInputs = [ cmake ]; buildInputs = [ gmp python3 ];