depot/pkgs/development/ocaml-modules/lens/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
664 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
];
};
}