forked from mirrors/nixpkgs
ocamlPackages.integers: use Dune 2
This commit is contained in:
parent
08cfe50ff7
commit
6f204e9c42
|
@ -1,9 +1,11 @@
|
|||
{ lib, fetchzip, buildDunePackage }:
|
||||
{ lib, fetchzip, buildDunePackage, ocaml }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "integers";
|
||||
version = "0.4.0";
|
||||
|
||||
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
|
||||
sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
|
||||
|
|
Loading…
Reference in a new issue