Merge pull request #173606 from fabaff/protocol-bump
protocol: fix build
This commit is contained in:
commit
d635ee99e3
pkgs
@ -1,8 +1,12 @@
|
|||||||
{ lib, buildPythonApplication, fetchFromGitHub }:
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonApplication {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "protocol-unstable";
|
pname = "protocol";
|
||||||
version = "2019-03-28";
|
version = "unstable-2019-03-28";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "luismartingarcia";
|
owner = "luismartingarcia";
|
||||||
@ -11,10 +15,15 @@ buildPythonApplication {
|
|||||||
sha256 = "13l10jhf4vghanmhh3pn91b2jdciispxy0qadz4n08blp85qn9cm";
|
sha256 = "13l10jhf4vghanmhh3pn91b2jdciispxy0qadz4n08blp85qn9cm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "scripts=['protocol', 'constants.py', 'specs.py']" "scripts=['protocol'], py_modules=['constants', 'specs']"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An ASCII Header Generator for Network Protocols";
|
description = "ASCII Header Generator for Network Protocols";
|
||||||
homepage = "https://github.com/luismartingarcia/protocol";
|
homepage = "https://github.com/luismartingarcia/protocol";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ teto ];
|
maintainers = with maintainers; [ teto ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -34430,7 +34430,7 @@ with pkgs;
|
|||||||
|
|
||||||
pt = callPackage ../applications/misc/pt { };
|
pt = callPackage ../applications/misc/pt { };
|
||||||
|
|
||||||
protocol = python3Packages.callPackage ../applications/networking/protocol { };
|
protocol = callPackage ../applications/networking/protocol { };
|
||||||
|
|
||||||
pykms = callPackage ../tools/networking/pykms { };
|
pykms = callPackage ../tools/networking/pykms { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user