camlistore: 0.8 -> 0.9

+8 -6
+8 -6
pkgs/applications/misc/camlistore/default.nix
··· 1 - { stdenv, lib, go, fetchurl }: 1 + { stdenv, lib, go, fetchgit, git }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.8"; 4 + version = "0.9"; 5 5 name = "camlistore-${version}"; 6 6 7 - src = fetchurl { 8 - url = "https://github.com/bradfitz/camlistore/archive/${version}.tar.gz"; 9 - sha256 = "03y5zs4i9lx93apqqqfgmbxamk06z3w1q763qp0lvb15mq45gdv1"; 7 + src = fetchgit { 8 + url = "https://github.com/camlistore/camlistore"; 9 + rev = "7b78c50007780643798adf3fee4c84f3a10154c9"; 10 + sha256 = "1vc4ca2rn8da0z0viv3vv2p8z211zdvq83jh2x2izdckdz204n17"; 11 + leaveDotGit = true; 10 12 }; 11 13 12 - buildInputs = [ go ]; 14 + buildInputs = [ go git ]; 13 15 14 16 buildPhase = '' 15 17 go run make.go