gflags: alias to google-gflags

Both packages referred to the same repo (`gflags/gflags` at GitHub),
both packages used almost the same version (2.2.1 and 2.2.0). Therefore
I think that it's just fair to drop one of the packages to avoid
duplication and reduce the maintenance overload.

I decided to drop `gflags` originally packaged by @shlevy as it didn't
contain testing support as `google-gflags` does. The package set refers
from `gflags` to `google-gflags`, so both package names remain (to avoid
any confusions), however the `gflags` expression is removed.
This commit is contained in:
Maximilian Bosch 2018-04-17 17:23:25 +02:00
parent 92f0d31b94
commit 6c01c7fcff
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
3 changed files with 3 additions and 22 deletions

View File

@ -1,19 +0,0 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation
{ name = "gflags-2.2.1";
src = fetchurl
{ url = "https://github.com/gflags/gflags/archive/v2.2.1.tar.gz";
sha256 = "03lxc2ah8i392kh1naq99iip34k4fpv22kwflyx3byd2ssycs9xf";
};
nativeBuildInputs = [ cmake ];
# for case-insensitive filesystems
prePatch = "mv BUILD BUILD.bazel";
meta = with stdenv.lib; {
description = "C++ library that implements commandline flags processing";
homepage = "https://github.com/gflags/gflags";
license = licenses.bsd3;
platforms = platforms.unix;
};
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "google-gflags-${version}";
version = "2.2.0";
version = "2.2.1";
src = fetchFromGitHub {
owner = "gflags";
repo = "gflags";
rev = "v${version}";
sha256 = "1y5808ky8qhjwv1nf134czz0h2p2faqvjhxa9zxf8mg8hn4ns9wp";
sha256 = "12wkihc4f07qmhyqk3cjylj8v5xz2bjrq75p7aq1vvvj60fbp58k";
};
nativeBuildInputs = [ cmake ];

View File

@ -8921,7 +8921,7 @@ with pkgs;
gettext = callPackage ../development/libraries/gettext { };
gflags = callPackage ../development/libraries/gflags { };
gflags = google-gflags;
gf2x = callPackage ../development/libraries/gf2x {};