ocamlPackages.cudf: init 0.9

authored by

superherointj and committed by
Vincent Laporte
d930bfd5 f6984fbe

+54
+52
pkgs/development/ocaml-modules/cudf/default.nix
··· 1 + { lib, fetchurl, stdenv, ocaml, ocamlbuild, findlib, ocaml_extlib, glib, perl, pkg-config, stdlib-shims, ounit }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "ocaml${ocaml.version}-cudf"; 5 + version = "0.9"; 6 + 7 + src = fetchurl { 8 + url = "https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz"; 9 + sha256 = "sha256-mTLk2V3OI1sUNIYv84nM3reiirf0AuozG5ZzLCmn4Rw="; 10 + }; 11 + 12 + buildFlags = [ 13 + "all" 14 + "opt" 15 + ]; 16 + nativeBuildInputs = [ 17 + findlib 18 + ocaml 19 + ocamlbuild 20 + pkg-config 21 + ]; 22 + buildInputs = [ 23 + glib 24 + perl 25 + stdlib-shims 26 + ]; 27 + propagatedBuildInputs = [ 28 + ocaml_extlib 29 + ]; 30 + 31 + checkTarget = [ 32 + "all" 33 + "test" 34 + ]; 35 + checkInputs = [ 36 + ounit 37 + ]; 38 + doCheck = true; 39 + 40 + preInstall = "mkdir -p $OCAMLFIND_DESTDIR"; 41 + installFlags = "BINDIR=$(out)/bin"; 42 + 43 + # passthru.tests = { inherit dose3; }; # To-Do: To be enabled when Dose3 PR is accepted. 44 + 45 + meta = with lib; { 46 + description = "A library for CUDF format"; 47 + homepage = "http://www.mancoosi.org/cudf/"; 48 + downloadPage = "https://gforge.inria.fr/projects/cudf/"; 49 + license = licenses.lgpl3; 50 + maintainers = with maintainers; [ superherointj ]; 51 + }; 52 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 233 233 234 234 csv-lwt = callPackage ../development/ocaml-modules/csv/lwt.nix { }; 235 235 236 + cudf = callPackage ../development/ocaml-modules/cudf { }; 237 + 236 238 curly = callPackage ../development/ocaml-modules/curly { 237 239 inherit (pkgs) curl; 238 240 };