summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-12-18 04:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-12-18 04:20:00 -0500
commit48d7d3afed16e8fdccef88e7e255567f443131b1 (patch)
tree2a731d84c4736a66df91c8faf6abf785a4611620 /pkgs/development/ocaml-modules
parent5458a38e61228fe5f1aa12886ed67b467103e78b (diff)
downloadnixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.tar
nixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.gz
nixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.bz2
nixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.lz
nixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.xz
nixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.tar.zst
nixpkgs-48d7d3afed16e8fdccef88e7e255567f443131b1.zip
ocamlPackages.stdint: 0.5.1 -> 0.6.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/stdint/default.nix18
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 0b8f83a1ea3..a36d84ffa3a 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;
   };
 }