2021-06-28 23:13:55 +00:00
|
|
|
{ lib, fetchurl, stdenv, ocaml, ocamlbuild, findlib, ocaml_extlib, glib, perl, pkg-config, stdlib-shims, ounit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "ocaml${ocaml.version}-cudf";
|
|
|
|
version = "0.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz";
|
|
|
|
sha256 = "sha256-mTLk2V3OI1sUNIYv84nM3reiirf0AuozG5ZzLCmn4Rw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildFlags = [
|
|
|
|
"all"
|
|
|
|
"opt"
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
findlib
|
|
|
|
ocaml
|
|
|
|
ocamlbuild
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
perl
|
|
|
|
stdlib-shims
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ocaml_extlib
|
|
|
|
];
|
|
|
|
|
|
|
|
checkTarget = [
|
|
|
|
"all"
|
|
|
|
"test"
|
|
|
|
];
|
|
|
|
checkInputs = [
|
|
|
|
ounit
|
|
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
preInstall = "mkdir -p $OCAMLFIND_DESTDIR";
|
|
|
|
installFlags = "BINDIR=$(out)/bin";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A library for CUDF format";
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://www.mancoosi.org/cudf/";
|
2021-06-28 23:13:55 +00:00
|
|
|
downloadPage = "https://gforge.inria.fr/projects/cudf/";
|
|
|
|
license = licenses.lgpl3;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|