Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
871 B
Nix
40 lines
871 B
Nix
{
|
|
lib,
|
|
fetchpatch,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
dune-configurator,
|
|
liblo,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "lo";
|
|
version = "0.2.0";
|
|
|
|
minimalOCamlVersion = "4.06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savonet";
|
|
repo = "ocaml-lo";
|
|
rev = "v${version}";
|
|
sha256 = "0mi8h6f6syxjkxz493l5c3l270pvxx33pz0k3v5465wqjsnppar2";
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://github.com/savonet/ocaml-lo/commit/0b43bdf113c7e2c27d55c6a5f81f2fa4b30b5454.patch";
|
|
hash = "sha256-Y5xewkKgTX9WIpbmVA9uA6N7KOPPhNguTWvowgoAcNU=";
|
|
})
|
|
];
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ liblo ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/savonet/ocaml-lo";
|
|
description = "Bindings for LO library";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ dandellion ];
|
|
};
|
|
}
|