ocamlPackages.integers: use Dune 2

This commit is contained in:
Vincent Laporte 2021-03-03 08:25:06 +01:00
parent 08cfe50ff7
commit 6f204e9c42
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -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";