diff --git a/pkgs/development/libraries/google-gflags/default.nix b/pkgs/development/libraries/google-gflags/default.nix new file mode 100644 index 000000000000..3631d4927a38 --- /dev/null +++ b/pkgs/development/libraries/google-gflags/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "google-gflags-2.0"; + + src = fetchurl { + url = "https://gflags.googlecode.com/files/gflags-2.0.tar.gz"; + sha256 = "1mypfahsfy0piavhf7il2jfs1gq7jp6yarl9sq5hhypj34s5sjnf"; + }; + + doCheck = true; + + meta = { + description = "A C++ library that implements commandline flags processing"; + longDescription = '' + The gflags package contains a C++ library that implements commandline flags processing. + As such it's a replacement for getopt(). + It was owned by Google. google-gflags project has been renamed to gflags and maintained by new community. + ''; + homepage = https://code.google.com/p/gflags/; + license = stdenv.lib.licenses.bsd3; + + maintainers = [ stdenv.lib.maintainers.linquize ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8d657ed4435e..890432d03904 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4295,6 +4295,8 @@ let goocanvas = callPackage ../development/libraries/goocanvas { }; + google-gflags = callPackage ../development/libraries/google-gflags { }; + gperftools = callPackage ../development/libraries/gperftools { }; gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer { });