about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/mirage-fs/default.nix
blob: 23c79c4a77d6c3800c82a89ebdc7e5bfc589e8a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchurl, buildDunePackage
, cstruct, fmt, lwt, mirage-device, mirage-kv
}:

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

  useDune2 = true;

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

  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 ];
  };
}