summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/cudf/default.nix
blob: 6c739d81724335ca72705376135026328bdbc822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildDunePackage,
  ocaml,
  fetchFromGitLab,
  extlib,
  ounit2,
}:

buildDunePackage (finalAttrs: {
  pname = "cudf";
  version = "0.10";

  minimalOCamlVersion = "4.07";

  src = fetchFromGitLab {
    owner = "irill";
    repo = "cudf";
    rev = "v${finalAttrs.version}";
    hash = "sha256-E4KXKnso/Q3ZwcYpKPgvswNR9qd/lafKljPMxfStedM=";
  };

  propagatedBuildInputs = [
    extlib
  ];

  checkInputs = [
    ounit2
  ];
  doCheck = lib.versionAtLeast ocaml.version "4.08";

  meta = {
    description = "Library for CUDF format";
    homepage = "https://www.mancoosi.org/cudf/";
    downloadPage = "https://gforge.inria.fr/projects/cudf/";
    license = lib.licenses.lgpl3;
    maintainers = [ ];
  };
})