Skip to content

Commit

Permalink
ocamlPackages.mirage-fs: init at 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Oct 24, 2020
1 parent 8f0accd commit 7be0ab8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/ocaml-modules/mirage-fs/default.nix
@@ -0,0 +1,24 @@
{ lib, fetchurl, buildDunePackage
, cstruct, fmt, lwt, mirage-device, mirage-kv
}:

buildDunePackage rec {
pname = "mirage-fs";
version = "3.0.1";

useDune2 = true;

src = fetchurl {
url = "https://github.com/mirage/mirage-fs/releases/download/v${version}/mirage-fs-v${version}.tbz";
sha256 = "0px18bgk528vr7iw78r0j3z4sdcz684sfcj47ibbly2adbvd64yk";
};

propagatedBuildInputs = [ cstruct fmt lwt mirage-device mirage-kv ];

meta = {
description = "MirageOS signatures for filesystem devices";
homepage = "https://github.com/mirage/mirage-fs";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Expand Up @@ -559,6 +559,8 @@ let

mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };

mirage-fs = callPackage ../development/ocaml-modules/mirage-fs { };

mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };

mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
Expand Down

0 comments on commit 7be0ab8

Please sign in to comment.