diff options
author | amesgen <amesgen@amesgen.de> | 2022-11-07 00:38:41 +0100 |
---|---|---|
committer | amesgen <amesgen@amesgen.de> | 2022-11-07 00:41:21 +0100 |
commit | 4a3fc076e4f5a4169f67e8b4208245a3c190c45a (patch) | |
tree | 697f599090e8a11add7c01d461a6bf3c6463482c | |
parent | f54c651ba521d14e2c2c225aae854946ee4f472f (diff) |
clingcon: 5.0.0 -> 5.2.0 and fix build
-rw-r--r-- | pkgs/applications/science/logic/potassco/clingcon.nix | 8 | ||||
-rw-r--r-- | pkgs/applications/science/logic/potassco/clingcon_limits.patch | 24 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 3 insertions, 31 deletions
diff --git a/pkgs/applications/science/logic/potassco/clingcon.nix b/pkgs/applications/science/logic/potassco/clingcon.nix index 2238e490a6034..e024ffb9364e9 100644 --- a/pkgs/applications/science/logic/potassco/clingcon.nix +++ b/pkgs/applications/science/logic/potassco/clingcon.nix @@ -7,19 +7,15 @@ stdenv.mkDerivation rec { pname = "clingcon"; - version = "5.0.0"; + version = "5.2.0"; src = fetchFromGitHub { owner = "potassco"; repo = pname; rev = "v${version}"; - sha256 = "1g2xkz9nsgqnrw3fdf5jchl16f0skj5mm32va61scc2yrchll166"; + sha256 = "sha256-wZfTneoQSqEnLAVE8WyPh9EABmOEhDgRm6yWAF1T7Nk="; }; - patches = [ - ./clingcon_limits.patch - ]; - postPatch = '' cp ${catch2}/include/catch2/catch.hpp libclingcon/tests/catch.hpp ''; diff --git a/pkgs/applications/science/logic/potassco/clingcon_limits.patch b/pkgs/applications/science/logic/potassco/clingcon_limits.patch deleted file mode 100644 index 0343e10e21125..0000000000000 --- a/pkgs/applications/science/logic/potassco/clingcon_limits.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git i/libclingcon/clingcon/base.hh w/libclingcon/clingcon/base.hh -index 2d449fe..0b5fa17 100644 ---- i/libclingcon/clingcon/base.hh -+++ w/libclingcon/clingcon/base.hh -@@ -28,6 +28,7 @@ - #include <clingo.hh> - #include <optional> - #include <forward_list> -+#include <limits> - - //! @file clingcon/base.hh - //! Basic data types. -diff --git i/libclingcon/clingcon/util.hh w/libclingcon/clingcon/util.hh -index df4cddd..308259e 100644 ---- i/libclingcon/clingcon/util.hh -+++ w/libclingcon/clingcon/util.hh -@@ -30,6 +30,7 @@ - #include <map> - #include <cstdlib> - #include <stdexcept> -+#include <limits> - - //! @file clingcon/util.hh - //! Very general utility functions. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1965a7216afa5..6199a1afe4f3c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3447,7 +3447,7 @@ with pkgs; clingo = callPackage ../applications/science/logic/potassco/clingo.nix { }; - clingcon = callPackage ../applications/science/logic/potassco/clingcon.nix { stdenv = gcc10StdenvCompat; }; + clingcon = callPackage ../applications/science/logic/potassco/clingcon.nix { }; clprover = callPackage ../applications/science/logic/clprover/clprover.nix { }; |