blob: 73548021688b3124753b6e384140dd667cf8762c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, fetchzip, ppx_deriving, ppxfind, buildDunePackage, ounit }:
buildDunePackage rec {
pname = "lens";
version = "1.2.4";
useDune2 = true;
src = fetchzip {
url = "https://github.com/pdonadeo/ocaml-lens/archive/v${version}.tar.gz";
sha256 = "18mv7n5rcix3545mc2qa2f9xngks4g4kqj2g878qj7r3cy96kklv";
};
minimumOCamlVersion = "4.10";
buildInputs = [ ppx_deriving ppxfind ];
doCheck = true;
checkInputs = [ ounit ];
meta = with lib; {
homepage = "https://github.com/pdonadeo/ocaml-lens";
description = "Functional lenses";
license = licenses.bsd3;
maintainers = with maintainers; [
kazcw
];
};
}
|