|
|
|
@ -2,22 +2,19 @@ |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
ocaml_version = (builtins.parseDrvName ocaml.name).version; |
|
|
|
|
version = "1.0.3"; |
|
|
|
|
in |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation { |
|
|
|
|
name = "ounit-${version}"; |
|
|
|
|
name = "ounit-1.1.0"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "http://www.xs4all.nl/~mmzeeman/ocaml/ounit-${version}.tar.gz"; |
|
|
|
|
sha256 = "1n7ylrbi2m00gn0kjg5zxnyzxki8v1dy31fcz3vh1xnwcx6hii97"; |
|
|
|
|
url = http://forge.ocamlcore.org/frs/download.php/495/ounit-1.1.0.tar.gz; |
|
|
|
|
sha256 = "12vybg9xlw5c8ip23p8cljfzhkdsm25482sf1yh46fcqq8p2jmqx"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ocaml findlib]; |
|
|
|
|
|
|
|
|
|
configurePhase = "true"; # Skip configure |
|
|
|
|
|
|
|
|
|
buildFlags = "all allopt"; |
|
|
|
|
dontAddPrefix = true; |
|
|
|
|
|
|
|
|
|
doCheck = true; |
|
|
|
|
|
|
|
|
|