ocamlPackages.stdint: init at 0.3.0
This commit is contained in:
parent
b370700d37
commit
7049172d72
25
pkgs/development/ocaml-modules/stdint/default.nix
Normal file
25
pkgs/development/ocaml-modules/stdint/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-stdint-${version}";
|
||||
version = "0.3.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrenth";
|
||||
repo = "ocaml-stdint";
|
||||
rev = version;
|
||||
sha256 = "18nh23yx4ghgq7mjf4mdyq8kj1fdw5d0abw919s8n4mv21cmpwia";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
description = "Various signed and unsigned integers for OCaml";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.gebner ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -625,6 +625,8 @@ let
|
||||
|
||||
sawja = callPackage ../development/ocaml-modules/sawja { };
|
||||
|
||||
stdint = callPackage ../development/ocaml-modules/stdint { };
|
||||
|
||||
uucd = callPackage ../development/ocaml-modules/uucd { };
|
||||
uucp = callPackage ../development/ocaml-modules/uucp { };
|
||||
uunf = callPackage ../development/ocaml-modules/uunf { };
|
||||
|
Loading…
Reference in New Issue
Block a user