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:
Orivej Desh
2019-07-25 09:04:55 +00:00
parent 2f55e705e2
commit b5d1d50aa9
14 changed files with 31 additions and 31 deletions

View File

@@ -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.