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
41 lines
687 B
Nix
41 lines
687 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
ppx_deriving,
|
|
ppxlib,
|
|
buildDunePackage,
|
|
ounit,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "lens";
|
|
version = "1.2.5";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pdonadeo";
|
|
repo = "ocaml-lens";
|
|
rev = "v${version}";
|
|
sha256 = "1k23n7pa945fk6nbaq6nlkag5kg97wsw045ghz4gqp8b9i2im3vn";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.10";
|
|
buildInputs = [
|
|
ppx_deriving
|
|
ppxlib
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pdonadeo/ocaml-lens";
|
|
description = "Functional lenses";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [
|
|
kazcw
|
|
];
|
|
};
|
|
}
|