From dd30fcd30af958023ddf87a791d2619eb9ecfc0f Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sat, 19 Mar 2016 13:51:21 +0100 Subject: [PATCH] sparsehash: 2.0.2 -> 2.0.3 --- .../libraries/sparsehash/default.nix | 17 ++++++++++------- 1 file 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 ]; }; }