forked from mirrors/nixpkgs
cppo: 1.1.2 -> 1.3.2
This commit is contained in:
parent
f16da199e4
commit
ce147f9a0d
|
@ -1,7 +1,7 @@
|
||||||
{stdenv, fetchurl, ocaml, findlib}:
|
{ stdenv, fetchFromGitHub, ocaml, findlib }:
|
||||||
let
|
let
|
||||||
pname = "cppo";
|
pname = "cppo";
|
||||||
version = "1.1.2";
|
version = "1.3.2";
|
||||||
webpage = "http://mjambon.com/${pname}.html";
|
webpage = "http://mjambon.com/${pname}.html";
|
||||||
in
|
in
|
||||||
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
|
||||||
|
@ -9,9 +9,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
|
owner = "mjambon";
|
||||||
sha256 = "1pfzch4ys5gjac2lrkqq0gzmm5plkq2jl17b2m3n06kmwashqplp";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "06j0zr78f04ahxi2459vjn61z25hkvs4dfj76200ydg3g6ifb3k1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ];
|
buildInputs = [ ocaml findlib ];
|
||||||
|
|
Loading…
Reference in a new issue