summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/functoria/default.nix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-11-24 08:20:38 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2020-12-01 07:30:56 +0100
commitd972bd23e003f82151e0f744b9e54bedc992e5ed (patch)
tree80586f51e9e4b9f5762012c1c75858e6f80d9998 /pkgs/development/ocaml-modules/functoria/default.nix
parent8c9c0eb38be4300b72b68af6a50d6468a0475501 (diff)
downloadnixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.tar
nixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.tar.gz
nixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.tar.bz2
nixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.tar.lz
nixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.tar.xz
nixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.tar.zst
nixpkgs-d972bd23e003f82151e0f744b9e54bedc992e5ed.zip
ocamlPackages.functoria: 3.1.0 → 3.1.1
Diffstat (limited to 'pkgs/development/ocaml-modules/functoria/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/functoria/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/functoria/default.nix b/pkgs/development/ocaml-modules/functoria/default.nix
index 330ab26e8e6..4f108320399 100644
--- a/pkgs/development/ocaml-modules/functoria/default.nix
+++ b/pkgs/development/ocaml-modules/functoria/default.nix
@@ -1,16 +1,18 @@
-{ stdenv, fetchurl, buildDunePackage, alcotest, cmdliner
+{ lib, fetchurl, buildDunePackage, alcotest, cmdliner
 , rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime
 }:
 
 buildDunePackage rec {
   pname   = "functoria";
-  version = "3.1.0";
+  version = "3.1.1";
+
+  useDune2 = true;
 
   minimumOCamlVersion = "4.04";
 
   src = fetchurl {
     url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
-    sha256 = "15jdqdj1vfi0x9gjydrrnbwzwbzw34w1iir032jrji820xlblky2";
+    sha256 = "0bihxbq16zwsi7frk4b8wz8993mvy2ym3n6288jhv0n0gb7c2f7m";
   };
 
   propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ];
@@ -18,7 +20,7 @@ buildDunePackage rec {
 
   doCheck = true;
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "A DSL to organize functor applications";
     homepage    = "https://github.com/mirage/functoria";
     license     = licenses.isc;