about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/lilv/default.nix
blob: a5def260eb291ee878b0d4977347ab3417ae093d (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
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ctypes, ctypes-foreign, lilv }:

buildDunePackage rec {
  pname = "lilv";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-lilv";
    rev = "v${version}";
    sha256 = "080ja8c4sxprk5qnldpfzxriag57m9603vny3b4bnwh5xm1id08c";
  };

  minimalOCamlVersion = "4.03.0";

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ ctypes ctypes-foreign lilv ];

  meta = with lib; {
    homepage = "https://github.com/savonet/ocaml-lilv";
    description = "OCaml bindings for lilv";
    license = licenses.lgpl21Only;
    maintainers = with maintainers; [ dandellion ];
  };
}