nixpkgs/pkgs/development/ocaml-modules/stdint/default.nix
R. RyanTM 676a19ff85 ocamlPackages.stdint: 0.3.0 -> 0.5.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ocaml4.05.0-stdint/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.5.0 with grep in /nix/store/cdk364zsik7s521fmy4x3h81gs22zxli-ocaml4.05.0-stdint-0.5.0
- directory tree listing: https://gist.github.com/ef751f20c22e979145384a6ae474b9a8
2018-03-30 23:17:09 -07:00

26 lines
716 B
Nix

{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-stdint-${version}";
version = "0.5.0";
src = fetchFromGitHub {
owner = "andrenth";
repo = "ocaml-stdint";
rev = version;
sha256 = "1xjzqq13m7cqrfwa6vcwxirm17w8bx025dgnjqjgd3k2lxfgd1j7";
};
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;
};
}