mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
25 lines
644 B
Nix
25 lines
644 B
Nix
|
{ lib, fetchurl, buildDunePackage
|
||
|
, cstruct, lwt, mirage-device
|
||
|
}:
|
||
|
|
||
|
buildDunePackage rec {
|
||
|
pname = "mirage-block";
|
||
|
version = "2.0.1";
|
||
|
|
||
|
useDune2 = true;
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-v${version}.tbz";
|
||
|
sha256 = "1wp8wmixaz9i2sbvq6nkx903lbnpdgb2w404pz1wk8kcg9p3ilcc";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ cstruct lwt mirage-device ];
|
||
|
|
||
|
meta = {
|
||
|
description = "Block signatures and implementations for MirageOS";
|
||
|
homepage = "https://github.com/mirage/mirage-block";
|
||
|
license = lib.licenses.isc;
|
||
|
maintainers = [ lib.maintainers.vbgl ];
|
||
|
};
|
||
|
}
|