tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ssh-mitm: remove override for paramiko
Fabian Affolter
7 months ago
6675bb57
a967b2fe
+25
-36
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ss
ssh-mitm
package.nix
+25
-36
pkgs/by-name/ss/ssh-mitm/package.nix
···
6
6
python3,
7
7
}:
8
8
9
9
-
let
10
10
-
py = python3.override {
11
11
-
self = py;
12
12
-
packageOverrides = self: super: {
13
13
-
paramiko = super.paramiko.overridePythonAttrs (oldAttrs: rec {
14
14
-
version = "3.4.1";
15
15
-
src = oldAttrs.src.override {
16
16
-
inherit version;
17
17
-
hash = "sha256-ixUwKHCvf2ZS8uA4l1wdKXPwYEbLXX1lNVZos+y+zgw=";
18
18
-
};
19
19
-
dependencies = oldAttrs.dependencies ++ [ python3.pkgs.icecream ];
20
20
-
});
21
21
-
};
22
22
-
};
23
23
-
in
24
24
-
with py.pkgs;
25
25
-
26
26
-
buildPythonApplication rec {
9
9
+
python3.pkgs.buildPythonApplication rec {
27
10
pname = "ssh-mitm";
28
11
version = "5.0.1";
29
12
pyproject = true;
···
35
18
hash = "sha256-FmxVhYkPRZwS+zFwuId9nRGN832LRkgCNgDYb8Pg01U=";
36
19
};
37
20
38
38
-
build-system = [
21
21
+
pythonRelaxDeps = [ "paramiko" ];
22
22
+
23
23
+
build-system = with python3.pkgs; [
39
24
hatchling
40
25
hatch-requirements-txt
41
26
];
42
27
43
43
-
dependencies = [
44
44
-
appimage
45
45
-
argcomplete
46
46
-
colored
47
47
-
packaging
48
48
-
paramiko
49
49
-
pytz
50
50
-
pyyaml
51
51
-
python-json-logger
52
52
-
rich
53
53
-
tkinter
54
54
-
setuptools
55
55
-
sshpubkeys
56
56
-
wrapt
57
57
-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ setuptools ];
28
28
+
nativeBuildInputs = [ installShellFiles ];
29
29
+
30
30
+
dependencies =
31
31
+
with python3.pkgs;
32
32
+
[
33
33
+
appimage
34
34
+
argcomplete
35
35
+
colored
36
36
+
packaging
37
37
+
paramiko
38
38
+
pytz
39
39
+
pyyaml
40
40
+
python-json-logger
41
41
+
rich
42
42
+
tkinter
43
43
+
setuptools
44
44
+
sshpubkeys
45
45
+
wrapt
46
46
+
]
47
47
+
++ lib.optionals stdenv.hostPlatform.isDarwin [ setuptools ];
58
48
# fix for darwin users
59
49
60
60
-
nativeBuildInputs = [ installShellFiles ];
61
61
-
62
50
# Module has no tests
63
51
doCheck = false;
52
52
+
64
53
# Install man page
65
54
postInstall = ''
66
55
installManPage man1/*