summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math/or-tools
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2019-03-26 15:29:28 -0700
committerAnders Kaseorg <andersk@mit.edu>2019-03-26 17:04:03 -0700
commitae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8 (patch)
treecc7744f9f0fa7ab98d754823e4dde8a21fa9898e /pkgs/development/libraries/science/math/or-tools
parent8da6083b374104479be0ba9d4c56e2914400f23e (diff)
downloadnixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.tar
nixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.tar.gz
nixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.tar.bz2
nixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.tar.lz
nixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.tar.xz
nixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.tar.zst
nixpkgs-ae6b9dcb0e9ece499db00ba1ab5062ee4bf13ce8.zip
or-tools: 6.10 -> 7.0
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'pkgs/development/libraries/science/math/or-tools')
-rw-r--r--pkgs/development/libraries/science/math/or-tools/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/libraries/science/math/or-tools/default.nix b/pkgs/development/libraries/science/math/or-tools/default.nix
index 71960c64a98..ba6827bf694 100644
--- a/pkgs/development/libraries/science/math/or-tools/default.nix
+++ b/pkgs/development/libraries/science/math/or-tools/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchFromGitHub, cmake, google-gflags, which
+{ stdenv, fetchFromGitHub, cmake, abseil-cpp, google-gflags, which
 , lsb-release, glog, protobuf, cbc, zlib
 , ensureNewerSourcesForZipFilesHook, python, swig
 , pythonProtobuf }:
 
 stdenv.mkDerivation rec {
   name = "or-tools-${version}";
-  version = "v6.10";
+  version = "v7.0";
 
   src = fetchFromGitHub {
     owner = "google";
     repo = "or-tools";
     rev = version;
-    sha256 = "11k3671rpv968dsglc6bgarr9yi8ijaaqm2wq3m0rn4wy8fj7za2";
+    sha256 = "09rs2j3w4ljw9qhhnsjlvfii297njjszwvkbgj1i6kns3wnlr7cp";
   };
 
   # The original build system uses cmake which does things like pull
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
   # dependencies straight from nixpkgs and use the make build method.
   configurePhase = ''
     cat <<EOF > Makefile.local
+    UNIX_ABSL_DIR=${abseil-cpp}
     UNIX_GFLAGS_DIR=${google-gflags}
     UNIX_GLOG_DIR=${glog}
     UNIX_PROTOBUF_DIR=${protobuf}
@@ -49,7 +50,7 @@ stdenv.mkDerivation rec {
     python.pkgs.setuptools python.pkgs.wheel
   ];
   propagatedBuildInputs = [
-    google-gflags glog protobuf cbc
+    abseil-cpp google-gflags glog protobuf cbc
     pythonProtobuf python.pkgs.six
   ];