nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 709 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 cstruct, 6 logs, 7 lwt, 8 macaddr, 9 mirage-net, 10}: 11 12buildDunePackage rec { 13 pname = "ethernet"; 14 version = "3.2.0"; 15 16 minimalOCamlVersion = "4.08"; 17 18 src = fetchurl { 19 url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 20 hash = "sha256-TB2nAhQiHZ1Dk6n/3i49s9HKNH92yNUl3xl94hByrAk="; 21 }; 22 23 propagatedBuildInputs = [ 24 cstruct 25 mirage-net 26 macaddr 27 lwt 28 logs 29 ]; 30 31 meta = { 32 description = "OCaml Ethernet (IEEE 802.3) layer, used in MirageOS"; 33 homepage = "https://github.com/mirage/ethernet"; 34 license = lib.licenses.isc; 35 maintainers = [ lib.maintainers.sternenseemann ]; 36 }; 37}