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

25 lines
706 B
Nix
Raw Normal View History

2017-12-14 07:36:29 +00:00
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
2017-07-11 22:11:53 +01:00
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-integers-0.2.2";
src = fetchurl {
url = https://github.com/ocamllabs/ocaml-integers/releases/download/v0.2.2/integers-0.2.2.tbz;
sha256 = "08b1ljw88ny3l0mdq6xmffjk8anfc77igryva5jz1p6f4f746ywk";
};
unpackCmd = "tar xjf $src";
2017-12-14 07:36:29 +00:00
buildInputs = [ ocaml findlib ocamlbuild topkg ];
2017-07-11 22:11:53 +01:00
inherit (topkg) buildPhase installPhase;
meta = {
description = "Various signed and unsigned integer types for OCaml";
license = stdenv.lib.licenses.mit;
homepage = https://github.com/ocamllabs/ocaml-integers;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}