summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/stdcompat/default.nix
blob: b8dcc81bfe7ee7863270f1e36bbeed3dde40591e (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
24
25
{ buildDunePackage
, lib
, fetchurl
}:

buildDunePackage rec {
  pname = "stdcompat";
  version = "19";

  src = fetchurl {
    url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz";
    sha256 = "sha256-DKQGd4nnIN6SPls6hcA/2Jvc7ivYNpeMU6rYsVc1ClU=";
  };

  strictDeps = true;

  # Otherwise ./configure script will run and create files conflicting with dune.
  dontConfigure = true;

  meta = {
    homepage = "https://github.com/thierry-martinez/stdcompat";
    license = lib.licenses.bsd2;
    maintainers = [ lib.maintainers.vbgl ];
  };
}