mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
31 lines
698 B
Nix
31 lines
698 B
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ounit-2.0.0";
|
|
|
|
src = fetchurl {
|
|
url = https://forge.ocamlcore.org/frs/download.php/1258/ounit-2.0.0.tar.gz;
|
|
sha256 = "118xsadrx84pif9vaq13hv4yh22w9kmr0ypvhrs0viir1jr0ajjd";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
|
|
|
dontAddPrefix = true;
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = http://ounit.forge.ocamlcore.org/;
|
|
description = "Unit test framework for OCaml";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = [
|
|
stdenv.lib.maintainers.z77z
|
|
];
|
|
};
|
|
}
|