blob: 3c5f33194cf8a3219d179569ee48b9fcde2f903f (
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,
fetchpatch,
buildDunePackage,
fetchFromGitHub,
dune-configurator,
liblo,
}:
buildDunePackage (finalAttrs: {
pname = "lo";
version = "0.2.0";
minimalOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lo";
rev = "v${finalAttrs.version}";
sha256 = "0mi8h6f6syxjkxz493l5c3l270pvxx33pz0k3v5465wqjsnppar2";
};
patches = [
(fetchpatch {
url = "https://github.com/savonet/ocaml-lo/commit/0b43bdf113c7e2c27d55c6a5f81f2fa4b30b5454.patch";
hash = "sha256-Y5xewkKgTX9WIpbmVA9uA6N7KOPPhNguTWvowgoAcNU=";
})
];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ liblo ];
meta = {
homepage = "https://github.com/savonet/ocaml-lo";
description = "Bindings for LO library";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
})
|