Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
877 B
Nix
34 lines
877 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "protocol";
|
|
version = "0-unstable-2019-03-28";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "luismartingarcia";
|
|
repo = "protocol";
|
|
rev = "4e8326ea6c2d288be5464c3a7d9398df468c0ada";
|
|
sha256 = "13l10jhf4vghanmhh3pn91b2jdciispxy0qadz4n08blp85qn9cm";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace-fail "scripts=['protocol', 'constants.py', 'specs.py']" "scripts=['protocol'], py_modules=['constants', 'specs']"
|
|
'';
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
meta = with lib; {
|
|
description = "ASCII Header Generator for Network Protocols";
|
|
homepage = "https://github.com/luismartingarcia/protocol";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ teto ];
|
|
mainProgram = "protocol";
|
|
};
|
|
}
|