tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
protocol: fix build
Fabian Affolter
3 years ago
af292cd1
0a6b1ff6
+16
-7
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
protocol
default.nix
top-level
all-packages.nix
+15
-6
pkgs/applications/networking/protocol/default.nix
···
1
1
-
{ lib, buildPythonApplication, fetchFromGitHub }:
1
1
+
{ lib
2
2
+
, python3
3
3
+
, fetchFromGitHub
4
4
+
}:
2
5
3
3
-
buildPythonApplication {
4
4
-
pname = "protocol-unstable";
5
5
-
version = "2019-03-28";
6
6
+
python3.pkgs.buildPythonApplication rec {
7
7
+
pname = "protocol";
8
8
+
version = "unstable-2019-03-28";
9
9
+
format = "setuptools";
6
10
7
11
src = fetchFromGitHub {
8
12
owner = "luismartingarcia";
···
11
15
sha256 = "13l10jhf4vghanmhh3pn91b2jdciispxy0qadz4n08blp85qn9cm";
12
16
};
13
17
18
18
+
postPatch = ''
19
19
+
substituteInPlace setup.py \
20
20
+
--replace "scripts=['protocol', 'constants.py', 'specs.py']" "scripts=['protocol'], py_modules=['constants', 'specs']"
21
21
+
'';
22
22
+
14
23
meta = with lib; {
15
15
-
description = "An ASCII Header Generator for Network Protocols";
24
24
+
description = "ASCII Header Generator for Network Protocols";
16
25
homepage = "https://github.com/luismartingarcia/protocol";
17
17
-
license = licenses.gpl3;
26
26
+
license = licenses.gpl3Plus;
18
27
maintainers = with maintainers; [ teto ];
19
28
};
20
29
}
+1
-1
pkgs/top-level/all-packages.nix
···
34417
34417
34418
34418
pt = callPackage ../applications/misc/pt { };
34419
34419
34420
34420
-
protocol = python3Packages.callPackage ../applications/networking/protocol { };
34420
34420
+
protocol = callPackage ../applications/networking/protocol { };
34421
34421
34422
34422
pykms = callPackage ../tools/networking/pykms { };
34423
34423