diff options
author | Linquize <linquize@yahoo.com.hk> | 2014-02-10 23:27:44 +0800 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2014-02-11 07:53:13 +0800 |
commit | 95c3d664f140aec0c4d21ae1d5f2120b4666ea33 (patch) | |
tree | 5b641e766dad7910ae009cdbed4562af7554e6c1 /pkgs/development/libraries/google-gflags | |
parent | e31523a369a012c4dc102d3b4e8ad52587a928c9 (diff) | |
download | nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.tar nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.tar.gz nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.tar.bz2 nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.tar.lz nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.tar.xz nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.tar.zst nixlib-95c3d664f140aec0c4d21ae1d5f2120b4666ea33.zip |
google-gflags: add 2.0
Diffstat (limited to 'pkgs/development/libraries/google-gflags')
-rw-r--r-- | pkgs/development/libraries/google-gflags/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
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; + }; +} |