Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 58 lines 1.1 kB view raw
1{ lib 2, buildDunePackage 3, fetchurl 4, ppx_sexp_conv 5, ppx_cstruct 6, lwt 7, mirage-net 8, io-page 9, mirage-xen 10, ipaddr 11, mirage-profile 12, shared-memory-ring 13, sexplib 14, logs 15, macaddr 16, lwt-dllist 17, result 18}: 19 20buildDunePackage rec { 21 pname = "netchannel"; 22 version = "2.1.2"; 23 24 minimalOCamlVersion = "4.08"; 25 duneVersion = "3"; 26 27 src = fetchurl { 28 url = "https://github.com/mirage/mirage-net-xen/releases/download/v${version}/mirage-net-xen-${version}.tbz"; 29 hash = "sha256-lTmwcNKiaq5EdJdM4UaaAVdZ+hTCX5U9MPKY/r3i7fw="; 30 }; 31 32 buildInputs = [ 33 ppx_cstruct 34 ]; 35 36 propagatedBuildInputs = [ 37 ppx_sexp_conv 38 lwt 39 mirage-net 40 io-page 41 mirage-xen 42 ipaddr 43 mirage-profile 44 shared-memory-ring 45 sexplib 46 logs 47 macaddr 48 lwt-dllist 49 result 50 ]; 51 52 meta = with lib; { 53 description = "Network device for reading and writing Ethernet frames via then Xen netfront/netback protocol"; 54 license = licenses.isc; 55 maintainers = [ maintainers.sternenseemann ]; 56 homepage = "https://github.com/mirage/mirage-net-xen"; 57 }; 58}