1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/ounit/default.nix

35 lines
741 B
Nix
Raw Normal View History

{stdenv, fetchurl, ocaml, findlib, camlp4}:
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
in
stdenv.mkDerivation {
2014-01-14 16:24:26 +00:00
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 camlp4];
dontAddPrefix = true;
doCheck = true;
checkTarget = "test";
createFindlibDestdir = true;
meta = {
2015-04-02 14:45:13 +01:00
homepage = http://ounit.forge.ocamlcore.org/;
description = "Unit test framework for OCaml";
2012-09-12 20:23:33 +01:00
license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms or [];
maintainers = [
stdenv.lib.maintainers.z77z
];
};
}