2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, lwt_ppx, ppx_cstruct, optint
|
2022-07-14 12:49:19 +00:00
|
|
|
, checkseum, diet, bitv, logs, lru, io-page, mirage-block }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
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
|
2022-07-14 12:49:19 +00:00
|
|
|
/* nocrypto */
|
2021-02-05 17:12:51 +00:00
|
|
|
logs
|
|
|
|
lru
|
|
|
|
io-page
|
|
|
|
mirage-block
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-07-14 12:49:19 +00:00
|
|
|
broken = true; # nocrypto is no longer available in nixpkgs
|
2021-02-05 17:12:51 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "A flash-friendly, safe and flexible filesystem library";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
};
|
|
|
|
}
|