nixpkgs-suyu/pkgs/development/ocaml-modules/integers/default.nix

21 lines
573 B
Nix
Raw Normal View History

2021-03-03 08:25:06 +01:00
{ lib, fetchzip, buildDunePackage, ocaml }:
2017-07-11 23:11:53 +02:00
buildDunePackage rec {
pname = "integers";
version = "0.4.0";
2017-07-11 23:11:53 +02:00
2021-03-03 08:25:06 +01:00
useDune2 = lib.versionAtLeast ocaml.version "4.08";
src = fetchzip {
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
};
2017-07-11 23:11:53 +02:00
meta = {
description = "Various signed and unsigned integer types for OCaml";
license = lib.licenses.mit;
homepage = "https://github.com/ocamllabs/ocaml-integers";
maintainers = [ lib.maintainers.vbgl ];
};
2017-07-11 23:11:53 +02:00
}