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

24 lines
666 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
2017-07-11 23:11:53 +02:00
buildDunePackage rec {
pname = "integers";
version = "0.5.1";
2017-07-11 23:11:53 +02:00
2021-03-03 08:25:06 +01:00
useDune2 = lib.versionAtLeast ocaml.version "4.08";
src = fetchFromGitHub {
owner = "ocamllabs";
repo = "ocaml-integers";
rev = version;
sha256 = "0by5pc851fk7ccxqy1w2qc5jwn9z8whyqhs5gxlm5986vr9msnyi";
};
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";
changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${version}/CHANGES.md";
maintainers = [ lib.maintainers.vbgl ];
};
2017-07-11 23:11:53 +02:00
}