Skip to content

Commit

Permalink
ocamlPackages.lens: 1.2.4 → 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Aug 5, 2021
1 parent 308c004 commit 9c0a584
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pkgs/development/ocaml-modules/lens/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{ lib, fetchzip, ppx_deriving, ppxfind, buildDunePackage, ounit }:
{ lib, fetchFromGitHub, ppx_deriving, ppxlib, buildDunePackage, ounit }:

buildDunePackage rec {
pname = "lens";
version = "1.2.4";
version = "1.2.5";

useDune2 = true;

src = fetchzip {
url = "https://github.com/pdonadeo/ocaml-lens/archive/v${version}.tar.gz";
sha256 = "18mv7n5rcix3545mc2qa2f9xngks4g4kqj2g878qj7r3cy96kklv";
src = fetchFromGitHub {
owner = "pdonadeo";
repo = "ocaml-lens";
rev = "v${version}";
sha256 = "1k23n7pa945fk6nbaq6nlkag5kg97wsw045ghz4gqp8b9i2im3vn";
};

minimumOCamlVersion = "4.10";
buildInputs = [ ppx_deriving ppxfind ];
minimalOCamlVersion = "4.10";
buildInputs = [ ppx_deriving ppxlib ];

doCheck = true;
checkInputs = [ ounit ];
Expand All @@ -24,6 +26,5 @@ buildDunePackage rec {
maintainers = with maintainers; [
kazcw
];
broken = true; # Not compatible with ppx_deriving ≥ 5.0
};
}

0 comments on commit 9c0a584

Please sign in to comment.