mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
31 lines
662 B
Nix
31 lines
662 B
Nix
{ lib, fetchFromGitHub, ppx_deriving, ppxlib, buildDunePackage, ounit }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "lens";
|
|
version = "1.2.5";
|
|
|
|
useDune2 = true;
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|