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

21 lines
573 B
Nix
Raw Normal View History

2021-03-03 07:25:06 +00:00
{ lib, fetchzip, buildDunePackage, ocaml }:
2017-07-11 22:11:53 +01:00
buildDunePackage rec {
pname = "integers";
version = "0.4.0";
2017-07-11 22:11:53 +01:00
2021-03-03 07:25:06 +00: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 22:11:53 +01: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 22:11:53 +01:00
}