blob: 6f0da0d593a62c166360b45e6667f5af100b839a (
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
40
41
42
|
{
stdenv,
lib,
fetchFromGitHub,
ocaml,
findlib,
topkg,
ocamlbuild,
re,
}:
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-simple-diff";
version = "0.3";
src = fetchFromGitHub {
owner = "gjaldon";
repo = "simple_diff";
rev = "v${version}";
sha256 = "sha256-OaKECUBCCt9KfdRJf3HcXTUJVxKKdYtnzOHpMPOllrk=";
};
nativeBuildInputs = [
ocaml
findlib
ocamlbuild
topkg
];
buildInputs = [ topkg ];
propagatedBuildInputs = [ re ];
strictDeps = true;
inherit (topkg) buildPhase installPhase;
meta = {
homepage = "https://github.com/gjaldon/simple_diff";
description = "Simple_diff is a pure OCaml diffing algorithm";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ ulrikstrid ];
};
}
|