mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
ocamlPackages.cudf: init 0.9
This commit is contained in:
parent
f6984fbe37
commit
d930bfd5fa
52
pkgs/development/ocaml-modules/cudf/default.nix
Normal file
52
pkgs/development/ocaml-modules/cudf/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ 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";
|
||||
|
||||
# passthru.tests = { inherit dose3; }; # To-Do: To be enabled when Dose3 PR is accepted.
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for CUDF format";
|
||||
homepage = "http://www.mancoosi.org/cudf/";
|
||||
downloadPage = "https://gforge.inria.fr/projects/cudf/";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ superherointj ];
|
||||
};
|
||||
}
|
@ -233,6 +233,8 @@ let
|
||||
|
||||
csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { };
|
||||
|
||||
cudf = callPackage ../development/ocaml-modules/cudf { };
|
||||
|
||||
curly = callPackage ../development/ocaml-modules/curly {
|
||||
inherit (pkgs) curl;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user