summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-08-22 09:01:00 -0500
committerVincent Laporte <vbgl@users.noreply.github.com>2021-08-26 09:42:41 +0200
commit4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7 (patch)
tree78b3a421c9ea16640c8447cfab958fa9c68744de
parentd2a08fef699a955e4ca2d99286aba9113f734d3f (diff)
downloadnixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.tar
nixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.tar.gz
nixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.tar.bz2
nixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.tar.lz
nixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.tar.xz
nixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.tar.zst
nixpkgs-4a8fec5e6f4e5328ef53d3d5ab30992ba8e04af7.zip
ocamlPackages.integers: 0.4.0 -> 0.5.1
https://github.com/ocamllabs/ocaml-integers/raw/0.5.1/CHANGES.md
-rw-r--r--pkgs/development/ocaml-modules/integers/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/integers/default.nix b/pkgs/development/ocaml-modules/integers/default.nix
index 97443bf5706..ed5ccbedb64 100644
--- a/pkgs/development/ocaml-modules/integers/default.nix
+++ b/pkgs/development/ocaml-modules/integers/default.nix
@@ -1,20 +1,23 @@
-{ lib, fetchzip, buildDunePackage, ocaml }:
+{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
 
 buildDunePackage rec {
   pname = "integers";
-  version = "0.4.0";
+  version = "0.5.1";
 
   useDune2 = lib.versionAtLeast ocaml.version "4.08";
 
-  src = fetchzip {
-    url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
-    sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
+  src = fetchFromGitHub {
+    owner = "ocamllabs";
+    repo = "ocaml-integers";
+    rev = version;
+    sha256 = "0by5pc851fk7ccxqy1w2qc5jwn9z8whyqhs5gxlm5986vr9msnyi";
   };
 
   meta = {
     description = "Various signed and unsigned integer types for OCaml";
     license = lib.licenses.mit;
     homepage = "https://github.com/ocamllabs/ocaml-integers";
+    changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${version}/CHANGES.md";
     maintainers = [ lib.maintainers.vbgl ];
   };
 }