tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.tubes: init at 0.2.0
Jean-Paul Calderone
4 years ago
f3ddf4fd
e41b0b50
+31
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
tubes
default.nix
top-level
python-packages.nix
+29
pkgs/development/python-modules/tubes/default.nix
···
1
1
+
{ lib, buildPythonPackage, fetchPypi, python
2
2
+
, characteristic, six, twisted
3
3
+
}:
4
4
+
5
5
+
buildPythonPackage rec {
6
6
+
pname = "tubes";
7
7
+
version = "0.2.0";
8
8
+
9
9
+
src = fetchPypi {
10
10
+
pname = "Tubes";
11
11
+
inherit version;
12
12
+
sha256 = "0sg1gg2002h1xsgxigznr1zk1skwmhss72dzk6iysb9k9kdgymcd";
13
13
+
};
14
14
+
15
15
+
propagatedBuildInputs = [ characteristic six twisted ];
16
16
+
17
17
+
checkPhase = ''
18
18
+
${python.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tubes
19
19
+
'';
20
20
+
21
21
+
pythonImportsCheck = [ "tubes" ];
22
22
+
23
23
+
meta = with lib; {
24
24
+
description = "a data-processing and flow-control engine for event-driven programs";
25
25
+
homepage = "https://github.com/twisted/tubes";
26
26
+
license = licenses.mit;
27
27
+
maintainers = with maintainers; [ exarkun ];
28
28
+
};
29
29
+
}
+2
pkgs/top-level/python-packages.nix
···
8920
8920
8921
8921
ttp = callPackage ../development/python-modules/ttp { };
8922
8922
8923
8923
+
tubes = callPackage ../development/python-modules/tubes { };
8924
8924
+
8923
8925
tunigo = callPackage ../development/python-modules/tunigo { };
8924
8926
8925
8927
tubeup = callPackage ../development/python-modules/tubeup { };