diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/sparsehash')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/sparsehash/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/sparsehash/default.nix b/nixpkgs/pkgs/development/libraries/sparsehash/default.nix new file mode 100644 index 000000000000..41b765bcb07d --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/sparsehash/default.nix @@ -0,0 +1,20 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "sparsehash-2.0.4"; + + src = fetchFromGitHub { + owner = "sparsehash"; + repo = "sparsehash"; + rev = name; + sha256 = "1pf1cjvcjdmb9cd6gcazz64x0cd2ndpwh6ql2hqpypjv725xwxy7"; + }; + + meta = with lib; { + homepage = "https://github.com/sparsehash/sparsehash"; + description = "An extremely memory-efficient hash_map implementation"; + platforms = platforms.all; + license = licenses.bsd3; + maintainers = with maintainers; [ pSub ]; + }; +} |