summary refs log tree commit diff
path: root/pkgs/development/libraries/sparsehash/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/sparsehash/default.nix')
-rw-r--r--pkgs/development/libraries/sparsehash/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/libraries/sparsehash/default.nix b/pkgs/development/libraries/sparsehash/default.nix
index 1f9bbcbd18da..15b84363e020 100644
--- a/pkgs/development/libraries/sparsehash/default.nix
+++ b/pkgs/development/libraries/sparsehash/default.nix
@@ -1,17 +1,20 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchFromGitHub }:
 
-stdenv.mkDerivation {
-  name = "sparsehash-2.0.2";
+stdenv.mkDerivation rec {
+  name = "sparsehash-2.0.3";
 
-  src = fetchurl {
-    url = http://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz;
-    sha256 = "0z5qa1sbp6xx5qpdvrdjh185k5kj53sgb6h2qabw01sn2nkkkmif";
+  src = fetchFromGitHub {
+    owner = "sparsehash";
+    repo = "sparsehash";
+    rev = name;
+    sha256 = "0m3f0cnpnpf6aak52wn8xbrrdw8p0yhq8csgc8nlvf9zp8c402na";
   };
 
   meta = with stdenv.lib; {
-    homepage = "http://code.google.com/p/sparsehash/";
+    homepage = http://code.google.com/p/sparsehash/;
     description = "An extremely memory-efficient hash_map implementation";
     platforms = platforms.all;
     license = licenses.bsd3;
+    maintainers = with maintainers; [ pSub ];
   };
 }