google-gflags: move to aliases.nix
google-gflags were renamed to gflags in 2012: https://github.com/gflags/gflags/#25-january-2012 gflags.name will be updated in staging.
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
, eigen
|
||||
, fetchurl
|
||||
, cmake
|
||||
, google-gflags
|
||||
, gflags
|
||||
, glog
|
||||
, runTests ? false
|
||||
}:
|
||||
|
||||
# google-gflags is required to run tests
|
||||
assert runTests -> google-gflags != null;
|
||||
# gflags is required to run tests
|
||||
assert runTests -> gflags != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ceres-solver-${version}";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ eigen glog ]
|
||||
++ stdenv.lib.optional runTests google-gflags;
|
||||
++ stdenv.lib.optional runTests gflags;
|
||||
|
||||
# The Basel BUILD file conflicts with the cmake build directory on
|
||||
# case-insensitive filesystems, eg. darwin.
|
||||
|
||||
Reference in New Issue
Block a user