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 ]; }; }