tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
tmuxp: 1.3.4 -> 1.3.5
Frederik Rietdijk
8 years ago
b4d9aaab
217626a3
+15
-12
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
tmuxp
default.nix
+15
-12
pkgs/tools/misc/tmuxp/default.nix
reviewed
···
1
1
-
{ stdenv, fetchurl, pythonPackages }:
1
1
+
{ stdenv, fetchurl, python }:
2
2
3
3
-
pythonPackages.buildPythonApplication rec {
4
4
-
name = "tmuxp-${version}";
5
5
-
version = "1.3.4";
3
3
+
with python.pkgs;
6
4
7
7
-
namePrefix = "";
5
5
+
buildPythonApplication rec {
6
6
+
pname = "tmuxp";
7
7
+
version = "1.3.5";
8
8
9
9
-
src = fetchurl {
10
10
-
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
11
11
-
sha256 = "149n35rr27n2c6yna1bla20x3w1zz9gxnjj3m3xxdfp4fbsd2y31";
9
9
+
src = fetchPypi {
10
10
+
inherit pname version;
11
11
+
sha256 = "bdbbbf5980d6ec21838396a46cd5b599787e8540782b8e2e3f20d2135560a5d3";
12
12
};
13
13
14
14
-
patchPhase = ''
14
14
+
postPatch = ''
15
15
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
16
16
'';
17
17
18
18
-
buildInputs = with pythonPackages; [
19
19
-
pytest_29
18
18
+
checkInputs = [
19
19
+
pytest
20
20
pytest-rerunfailures
21
21
];
22
22
23
23
-
propagatedBuildInputs = with pythonPackages; [
23
23
+
# No tests in archive
24
24
+
doCheck = false;
25
25
+
26
26
+
propagatedBuildInputs = [
24
27
click colorama kaptan libtmux
25
28
];
26
29