Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 604 B view raw
1{ lib, buildDunePackage, fetchurl, fmt, ocaml_lwt }: 2 3buildDunePackage rec { 4 pname = "mirage-device"; 5 version = "2.0.0"; 6 7 useDune2 = true; 8 9 src = fetchurl { 10 url = "https://github.com/mirage/mirage-device/releases/download/v${version}/mirage-device-v${version}.tbz"; 11 sha256 = "18alxyi6wlxqvb4lajjlbdfkgcajsmklxi9xqmpcz07j51knqa04"; 12 }; 13 14 propagatedBuildInputs = [ fmt ocaml_lwt ]; 15 16 meta = { 17 description = "Abstract devices for MirageOS"; 18 homepage = "https://github.com/mirage/mirage-device"; 19 license = lib.licenses.isc; 20 maintainers = [ lib.maintainers.vbgl ]; 21 }; 22} 23 24