about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-06-05 19:59:32 -0300
committerVincent Laporte <vbgl@users.noreply.github.com>2021-06-06 21:00:43 +0200
commit6d3d57a20d9a6530625733060d152911663fbe7d (patch)
tree4767a77319e7346ba4c237877a40c81a5021459a /pkgs
parent39f3777e923784cbe9af20fe86be0403fe9c8763 (diff)
downloadnixlib-6d3d57a20d9a6530625733060d152911663fbe7d.tar
nixlib-6d3d57a20d9a6530625733060d152911663fbe7d.tar.gz
nixlib-6d3d57a20d9a6530625733060d152911663fbe7d.tar.bz2
nixlib-6d3d57a20d9a6530625733060d152911663fbe7d.tar.lz
nixlib-6d3d57a20d9a6530625733060d152911663fbe7d.tar.xz
nixlib-6d3d57a20d9a6530625733060d152911663fbe7d.tar.zst
nixlib-6d3d57a20d9a6530625733060d152911663fbe7d.zip
ocamlPackages.ocaml-version: 3.0.0 -> 3.1.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/ocaml-version/default.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-version/default.nix b/pkgs/development/ocaml-modules/ocaml-version/default.nix
index 4fde475cf936..a8912c0f5d58 100644
--- a/pkgs/development/ocaml-modules/ocaml-version/default.nix
+++ b/pkgs/development/ocaml-modules/ocaml-version/default.nix
@@ -1,24 +1,21 @@
 { lib, fetchurl, buildDunePackage }:
 
 buildDunePackage rec {
-
   pname = "ocaml-version";
-  version = "3.0.0";
-
-  minimumOCamlVersion = "4.07";
-
-  useDune2 = true;
+  version = "3.1.0";
 
   src = fetchurl {
     url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
-    sha256 = "15vk8sh50p3f2mbv8z7mqnx76cffri36f2krp25zkkwix8jg7ci4";
+    sha256 = "sha256-rHuhagnY9yISdC85NpgPv667aYx7v2JRgq99ayw83l8=";
   };
 
-  meta = {
+  minimumOCamlVersion = "4.07";
+  useDune2 = true;
+
+  meta = with lib; {
     description = "Manipulate, parse and generate OCaml compiler version strings";
     homepage = "https://github.com/ocurrent/ocaml-version";
-    license = lib.licenses.isc;
-    maintainers = [ lib.maintainers.vbgl ];
+    license = licenses.isc;
+    maintainers = with maintainers; [ vbgl ];
   };
-
 }