diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-12-18 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-12-18 04:20:00 -0500 |
commit | 48d7d3afed16e8fdccef88e7e255567f443131b1 (patch) | |
tree | 2a731d84c4736a66df91c8faf6abf785a4611620 /pkgs/development/ocaml-modules/stdint | |
parent | 5458a38e61228fe5f1aa12886ed67b467103e78b (diff) | |
download | nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.tar nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.gz nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.bz2 nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.lz nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.xz nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.zst nixlib-48d7d3afed16e8fdccef88e7e255567f443131b1.zip |
ocamlPackages.stdint: 0.5.1 -> 0.6.0
Diffstat (limited to 'pkgs/development/ocaml-modules/stdint')
-rw-r--r-- | pkgs/development/ocaml-modules/stdint/default.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/pkgs/development/ocaml-modules/stdint/default.nix b/pkgs/development/ocaml-modules/stdint/default.nix index 0b8f83a1ea3e..a36d84ffa3a7 100644 --- a/pkgs/development/ocaml-modules/stdint/default.nix +++ b/pkgs/development/ocaml-modules/stdint/default.nix @@ -1,26 +1,20 @@ -{ stdenv, fetchFromGitHub, ocaml, findlib, dune }: +{ stdenv, fetchFromGitHub, buildDunePackage }: -stdenv.mkDerivation rec { +buildDunePackage rec { pname = "stdint"; - name = "ocaml${ocaml.version}-${pname}-${version}"; - version = "0.5.1"; + version = "0.6.0"; + src = fetchFromGitHub { owner = "andrenth"; repo = "ocaml-stdint"; rev = version; - sha256 = "0z2z77m3clna9m9k0f8fd1400cdlglvy1kr893qs3907b3v0c057"; + sha256 = "19ccxs0vij81vyc9nqc9kbr154ralb9dgc2y2nr71a5xkx6xfn0y"; }; - buildInputs = [ ocaml findlib dune ]; - - buildPhase = "dune build -p ${pname}"; - inherit (dune) installPhase; - meta = { description = "Various signed and unsigned integers for OCaml"; + homepage = "https://github.com/andrenth/ocaml-stdint"; license = stdenv.lib.licenses.mit; maintainers = [ stdenv.lib.maintainers.gebner ]; - inherit (src.meta) homepage; - inherit (ocaml.meta) platforms; }; } |