git.iko.soy/typeable/nixpkgs
on master help sign in
cppo: 1.1.2 -> 1.3.2
commitce147f9a0d4701cf1df02da577777592f717c261 authorVincent Laporte <Vincent.Laporte@gmail.com> dateSun 22 May 2016, 17:22 (11 years ago) parentf16da19
1 file changed+7−5
pkgs/development/tools/ocaml/cppo/default.nix+7−5
pkgs/development/tools/ocaml/cppo/default.nix+7−5
@@ -1,7 +1,7 @@
1−{stdenv, fetchurl, ocaml, findlib}:
1+{ stdenv, fetchFromGitHub, ocaml, findlib }:
22let
33 pname = "cppo";
4− version = "1.1.2";
4+ version = "1.3.2";
55 webpage = "http://mjambon.com/${pname}.html";
66in
77assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
@@ -9,9 +9,11 @@ stdenv.mkDerivation rec {
99
1010 name = "${pname}-${version}";
1111
12− src = fetchurl {
13− url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
14− sha256 = "1pfzch4ys5gjac2lrkqq0gzmm5plkq2jl17b2m3n06kmwashqplp";
12+ src = fetchFromGitHub {
13+ owner = "mjambon";
14+ repo = pname;
15+ rev = "v${version}";
16+ sha256 = "06j0zr78f04ahxi2459vjn61z25hkvs4dfj76200ydg3g6ifb3k1";
1517 };
1618
1719 buildInputs = [ ocaml findlib ];