diff options
author | Cedric Cellier <rixed@happyleptic.org> | 2019-03-26 11:04:59 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-03-27 13:53:58 +0100 |
commit | 1777055209e8a44d39144d256dea9a73c1e6bdc9 (patch) | |
tree | f698fcddf34eee3600d197773eaf05d2796b74c6 /pkgs/development/ocaml-modules/stdint | |
parent | 5f47ad0f8ac4d4f1c30b545671ef8aaee86ce4d8 (diff) |
ocamlPackages.stdint: 0.5.0 -> 0.5.1
Diffstat (limited to 'pkgs/development/ocaml-modules/stdint')
-rw-r--r-- | pkgs/development/ocaml-modules/stdint/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/stdint/default.nix b/pkgs/development/ocaml-modules/stdint/default.nix index 129f9dd7289f8..0b8f83a1ea3e6 100644 --- a/pkgs/development/ocaml-modules/stdint/default.nix +++ b/pkgs/development/ocaml-modules/stdint/default.nix @@ -1,19 +1,20 @@ -{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }: +{ stdenv, fetchFromGitHub, ocaml, findlib, dune }: stdenv.mkDerivation rec { - name = "ocaml${ocaml.version}-stdint-${version}"; - version = "0.5.0"; + pname = "stdint"; + name = "ocaml${ocaml.version}-${pname}-${version}"; + version = "0.5.1"; src = fetchFromGitHub { owner = "andrenth"; repo = "ocaml-stdint"; rev = version; - sha256 = "1xjzqq13m7cqrfwa6vcwxirm17w8bx025dgnjqjgd3k2lxfgd1j7"; + sha256 = "0z2z77m3clna9m9k0f8fd1400cdlglvy1kr893qs3907b3v0c057"; }; - buildInputs = [ ocaml findlib ocamlbuild ]; - configurePhase = "ocaml setup.ml -configure --prefix $out"; + buildInputs = [ ocaml findlib dune ]; - createFindlibDestdir = true; + buildPhase = "dune build -p ${pname}"; + inherit (dune) installPhase; meta = { description = "Various signed and unsigned integers for OCaml"; |