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 <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
3f07ef8a9f
commit
0bf7411211
1 changed files with 2 additions and 9 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue