2020-04-08 07:26:37 +01:00
|
|
|
{ lib, buildDunePackage, fetchurl, fmt, ocaml_lwt }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-device";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
2021-02-08 08:04:03 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-08 07:26:37 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-device/releases/download/v${version}/mirage-device-v${version}.tbz";
|
|
|
|
sha256 = "18alxyi6wlxqvb4lajjlbdfkgcajsmklxi9xqmpcz07j51knqa04";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ fmt ocaml_lwt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Abstract devices for MirageOS";
|
|
|
|
homepage = "https://github.com/mirage/mirage-device";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|