summary refs log tree commit diff
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-06-06 08:04:43 -0300
committerVincent Laporte <vbgl@users.noreply.github.com>2021-06-07 14:07:59 +0200
commit1c50387848bb0d24cb737390322761410b482667 (patch)
treeb0cef1b598f1a6aefaa0d0b4f2d94bb3f28df3ae
parent8788cf16cd322bceb5f006bb3ff1f1cb1a80a991 (diff)
downloadnixpkgs-1c50387848bb0d24cb737390322761410b482667.tar
nixpkgs-1c50387848bb0d24cb737390322761410b482667.tar.gz
nixpkgs-1c50387848bb0d24cb737390322761410b482667.tar.bz2
nixpkgs-1c50387848bb0d24cb737390322761410b482667.tar.lz
nixpkgs-1c50387848bb0d24cb737390322761410b482667.tar.xz
nixpkgs-1c50387848bb0d24cb737390322761410b482667.tar.zst
nixpkgs-1c50387848bb0d24cb737390322761410b482667.zip
ocamlPackages.repr: 0.2.1 -> 0.3.0
-rw-r--r--pkgs/development/ocaml-modules/repr/default.nix17
-rw-r--r--pkgs/development/ocaml-modules/repr/ppx.nix6
2 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/development/ocaml-modules/repr/default.nix b/pkgs/development/ocaml-modules/repr/default.nix
index de6877ddd68..cd7e1e014e4 100644
--- a/pkgs/development/ocaml-modules/repr/default.nix
+++ b/pkgs/development/ocaml-modules/repr/default.nix
@@ -1,30 +1,29 @@
-{ lib, buildDunePackage, fetchurl, fmt, uutf, jsonm, base64, either }:
+{ lib, buildDunePackage, fetchurl, base64, either, fmt, jsonm, uutf }:
 
 buildDunePackage rec {
   pname = "repr";
-  version = "0.2.1";
-
-  minimumOCamlVersion = "4.08";
+  version = "0.3.0";
 
   src = fetchurl {
     url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz";
-    sha256 = "1cbzbawbn71mmpw8y84s1p2pbhc055w1znz64jvr00c7fdr9p8hc";
+    sha256 = "sha256-2b0v5RwutvyidzEDTEb5p33IvJ+3t2IW+KVxYD1ufXQ=";
   };
 
+  minimumOCamlVersion = "4.08";
   useDune2 = true;
 
   propagatedBuildInputs = [
-    fmt
-    uutf
-    jsonm
     base64
     either
+    fmt
+    jsonm
+    uutf
   ];
 
   meta = with lib; {
     description = "Dynamic type representations. Provides no stability guarantee";
     homepage = "https://github.com/mirage/repr";
     license = licenses.isc;
-    maintainers = [ maintainers.sternenseemann ];
+    maintainers = with maintainers; [ sternenseemann ];
   };
 }
diff --git a/pkgs/development/ocaml-modules/repr/ppx.nix b/pkgs/development/ocaml-modules/repr/ppx.nix
index a1112ef9ac7..7ef2c55c2c2 100644
--- a/pkgs/development/ocaml-modules/repr/ppx.nix
+++ b/pkgs/development/ocaml-modules/repr/ppx.nix
@@ -1,4 +1,4 @@
-{ buildDunePackage, repr, ppxlib, ppx_deriving, alcotest, hex }:
+{ buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
 
 buildDunePackage {
   pname = "ppx_repr";
@@ -6,9 +6,9 @@ buildDunePackage {
   inherit (repr) src version useDune2;
 
   propagatedBuildInputs = [
-    repr
-    ppxlib
     ppx_deriving
+    ppxlib
+    repr
   ];
 
   doCheck = true;