about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2024-09-06 07:16:44 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2024-09-12 18:31:05 +0200
commit7f69b25e326f3868af77ebd0ff2990b08ed40fd6 (patch)
treea31f1bb08a126f094bf12befdce386b8a37806b8 /pkgs
parent95376efebc4dd2e4e89c39a38a246b2ca2b6e253 (diff)
ocamlPackages.mrmime: 0.5.0 → 0.6.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/mrmime/default.nix31
1 files changed, 11 insertions, 20 deletions
diff --git a/pkgs/development/ocaml-modules/mrmime/default.nix b/pkgs/development/ocaml-modules/mrmime/default.nix
index a2d118765616d..8e9a3e1049e19 100644
--- a/pkgs/development/ocaml-modules/mrmime/default.nix
+++ b/pkgs/development/ocaml-modules/mrmime/default.nix
@@ -2,14 +2,12 @@
 , alcotest
 , angstrom
 , base64
-, bigarray-compat
 , bigarray-overlap
 , bigstringaf
 , buildDunePackage
 , cmdliner
 , emile
-, fetchzip
-, fmt
+, fetchurl
 , fpath
 , hxd
 , ipaddr
@@ -17,56 +15,49 @@
 , ke
 , lib
 , mirage-crypto-rng
-, ocaml
 , pecu
 , prettym
 , ptime
 , rosetta
-, rresult
 , unstrctrd
 , uutf
 }:
 
 buildDunePackage rec {
   pname = "mrmime";
-  version = "0.5.0";
+  version = "0.6.1";
 
-  src = fetchzip {
-    url = "https://github.com/mirage/mrmime/releases/download/v${version}/mrmime-v${version}.tbz";
-    sha256 = "14k67v0b39b8jq3ny2ymi8g8sqx2gd81mlzsjphdzdqnlx6fk716";
+  src = fetchurl {
+    url = "https://github.com/mirage/mrmime/releases/download/v${version}/mrmime-${version}.tbz";
+    hash = "sha256-Dzsr7xPzu5RIzIdubF4OAAjHJY7CdBVnHRZxQbcCsBY=";
   };
 
-  duneVersion = "3";
-
-  buildInputs = [ cmdliner hxd ];
-
   propagatedBuildInputs = [
     angstrom
     base64
     emile
-    fmt
     ipaddr
     ke
     pecu
     prettym
     ptime
     rosetta
-    rresult
     unstrctrd
     uutf
-    afl-persistent
-    bigarray-compat
     bigarray-overlap
     bigstringaf
-    fpath
-    mirage-crypto-rng
   ];
 
   checkInputs = [
+    afl-persistent
     alcotest
+    cmdliner
+    fpath
+    hxd
     jsonm
+    mirage-crypto-rng
   ];
-  doCheck = lib.versionOlder ocaml.version "5.0";
+  doCheck = true;
 
   meta = {
     description = "Parser and generator of mail in OCaml";