Files
nixpkgs/pkgs/development/ocaml-modules/lo/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
869 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 = {
homepage = "https://github.com/savonet/ocaml-lo";
description = "Bindings for LO library";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}