git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.mirage-kv: init at 3.0.1
commit8f0accd00f18b183afcdefb4f304090bd27b8329 authorVincent Laporte <Vincent.Laporte@gmail.com> dateSat 17 Oct 2020, 07:35 (6 years ago) parent3d4e133
2 files changed+30
pkgs/development/ocaml-modules/mirage-kv/default.nix+28 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/mirage-kv/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, fetchurl, buildDunePackage
2+, fmt, mirage-device
3+, alcotest
4+}:
5+
6+buildDunePackage rec {
7+ pname = "mirage-kv";
8+ version = "3.0.1";
9+
10+ useDune2 = true;
11+
12+ src = fetchurl {
13+ url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-v${version}.tbz";
14+ sha256 = "1n736sjvdd8rkbc2b5jm9sn0w6hvhjycma5328r0l03v24vk5cki";
15+ };
16+
17+ propagatedBuildInputs = [ fmt mirage-device ];
18+
19+ doCheck = true;
20+ checkInputs = [ alcotest ];
21+
22+ meta = {
23+ description = "MirageOS signatures for key/value devices";
24+ homepage = "https://github.com/mirage/mirage-kv";
25+ license = lib.licenses.isc;
26+ maintainers = [ lib.maintainers.vbgl ];
27+ };
28+}
pkgs/top-level/ocaml-packages.nix+2
@@ -559,6 +559,8 @@ let
559559
560560 mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };
561561
562+ mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
563+
562564 mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
563565
564566 mirage-random = callPackage ../development/ocaml-modules/mirage-random { };