summary refs log tree commit diff
path: root/pkgs/development/libraries/google-gflags/default.nix
blob: 3631d4927a38565b3cd89a5c55725489b1f730f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
  };
}