about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/hashcons/default.nix
blob: 2bfaced11551a966bfa33d8f1eb9137ae68049da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchFromGitHub, buildDunePackage }:

buildDunePackage rec {
  pname = "hashcons";
  version = "1.4";

  src = fetchFromGitHub {
    owner  = "backtracking";
    repo   = "ocaml-${pname}";
    rev    = "d733325eeb55878bed285120c2c088daf78f0e2b";
    sha256 = "0h4pvwj34pndaw3pajkhl710ywwinhc9pqimgllfmkl37wz2d8zq";
  };

  useDune2 = true;

  doCheck = true;

  meta = {
    description = "OCaml hash-consing library";
    license = lib.licenses.lgpl21;
    maintainers = [ lib.maintainers.ulrikstrid ];
  };
}