about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/wodan/default.nix
blob: 64ca29f20308d67acd3387364f1b6f913a4707ed (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib, buildDunePackage, fetchFromGitHub, lwt_ppx, ppx_cstruct, optint
, checkseum, diet, bitv, nocrypto, logs, lru, io-page, mirage-block }:

buildDunePackage rec {
  pname = "wodan";
  version = "unstable-2020-11-20";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "mirage";
    repo = pname;
    rev = "cc08fe25888051c207f1009bcd2d39f8c514484f";
    sha256 = "0186vlhnl8wcz2hmpn327n9a0bibnypmjy3w4nxq3yyglh6vj1im";
    fetchSubmodules = true;
  };

  minimumOCamlVersion = "4.08";

  propagatedBuildInputs = [
    lwt_ppx
    ppx_cstruct
    optint
    checkseum
    diet
    bitv
    nocrypto
    logs
    lru
    io-page
    mirage-block
  ];

  meta = with lib; {
    inherit (src.meta) homepage;
    description = "A flash-friendly, safe and flexible filesystem library";
    license = licenses.isc;
    maintainers = with maintainers; [ ehmry ];
  };
}