about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/sparsehash
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/sparsehash')
-rw-r--r--nixpkgs/pkgs/development/libraries/sparsehash/default.nix20
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..f898152d820e
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/sparsehash/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "sparsehash-2.0.3";
+
+  src = fetchFromGitHub {
+    owner = "sparsehash";
+    repo = "sparsehash";
+    rev = name;
+    sha256 = "0m3f0cnpnpf6aak52wn8xbrrdw8p0yhq8csgc8nlvf9zp8c402na";
+  };
+
+  meta = with stdenv.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 ];
+  };
+}