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 {
|
buildDunePackage rec {
|
||||||
pname = "integers";
|
pname = "integers";
|
||||||
version = "0.4.0";
|
version = "0.4.0";
|
||||||
|
|
||||||
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
|
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
|
||||||
sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
|
sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user