Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
31 lines
659 B
Nix
31 lines
659 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchurl
|
|
, arp
|
|
, ethernet
|
|
, ipaddr
|
|
, tcpip
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-protocols";
|
|
version = "8.0.0";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
|
|
hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ arp ethernet ipaddr tcpip ];
|
|
|
|
meta = {
|
|
description = "MirageOS signatures for network protocols";
|
|
homepage = "https://github.com/mirage/mirage-protocols";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|
|
|
|
|