git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #23775 from ndowens/ceres-solver

ceres-solver: 1.10.0 -> 1.12.0

commit4524f13cd44040ec44d5aabb57fc590216d9905b authorMichael Raskin <7c6f434c@mail.ru> dateSat 18 Mar 2017, 19:38 (10 years ago) parent82fd4f1a50e64a
1 file changed+7−9
pkgs/development/libraries/ceres-solver/default.nix+7−9
pkgs/development/libraries/ceres-solver/default.nix+7−9
@@ -10,18 +10,17 @@
1010# google-gflags is required to run tests
1111assert runTests -> google-gflags != null;
1212
13−let
14− version = "1.10.0";
15−in
16−stdenv.mkDerivation {
13+stdenv.mkDerivation rec {
1714 name = "ceres-solver-${version}";
15+ version = "1.12.0";
1816
1917 src = fetchurl {
2018 url = "http://ceres-solver.org/ceres-solver-${version}.tar.gz";
21− sha256 = "20bb5db05c3e3e14a4062e2cf2b0742d2653359549ecded3e0653104ef3deb17";
19+ sha256 = "15f8mwhcy9f5qggcc9dqwl5y687ykvmlidr686aqdq0ia7azwnvl";
2220 };
2321
24− buildInputs = [ cmake glog ]
22+ nativeBuildInputs = [ cmake ];
23+ buildInputs = [ glog ]
2524 ++ stdenv.lib.optional (google-gflags != null) google-gflags;
2625
2726 inherit eigen;
@@ -38,8 +37,7 @@ stdenv.mkDerivation {
3837 description = "C++ library for modeling and solving large, complicated optimization problems";
3938 license = licenses.bsd3;
4039 homepage = "http://ceres-solver.org";
41− maintainers = with stdenv.lib.maintainers; [ giogadi ];
42− inherit version;
43− platforms = with stdenv.lib.platforms; unix;
40+ maintainers = with maintainers; [ giogadi ];
41+ platforms = platforms.unix;
4442 };
4543}