Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ctypes, lilv }:
2
3buildDunePackage rec {
4 pname = "lilv";
5 version = "0.1.0";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-lilv";
10 rev = "v${version}";
11 sha256 = "080ja8c4sxprk5qnldpfzxriag57m9603vny3b4bnwh5xm1id08c";
12 };
13
14 minimalOCamlVersion = "4.03.0";
15
16 buildInputs = [ dune-configurator ];
17 propagatedBuildInputs = [ ctypes lilv ];
18
19 meta = with lib; {
20 homepage = "https://github.com/savonet/ocaml-lilv";
21 description = "OCaml bindings for lilv";
22 license = licenses.lgpl21Only;
23 maintainers = with maintainers; [ dandellion ];
24 };
25}