diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2021-08-06 18:47:46 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2021-08-22 14:19:28 -0400 |
commit | f3ddf4fd715c9bf9316caf58def2a5de2a4907db (patch) | |
tree | 58620eeff942b17d1123d845a734cdabc99cb2dc /pkgs/development/python-modules/tubes | |
parent | e41b0b50b0e507c21d226195a557f131f699e583 (diff) |
pythonPackages.tubes: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/tubes')
-rw-r--r-- | pkgs/development/python-modules/tubes/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tubes/default.nix b/pkgs/development/python-modules/tubes/default.nix new file mode 100644 index 0000000000000..0dbfe22065703 --- /dev/null +++ b/pkgs/development/python-modules/tubes/default.nix @@ -0,0 +1,29 @@ +{ lib, buildPythonPackage, fetchPypi, python +, characteristic, six, twisted +}: + +buildPythonPackage rec { + pname = "tubes"; + version = "0.2.0"; + + src = fetchPypi { + pname = "Tubes"; + inherit version; + sha256 = "0sg1gg2002h1xsgxigznr1zk1skwmhss72dzk6iysb9k9kdgymcd"; + }; + + propagatedBuildInputs = [ characteristic six twisted ]; + + checkPhase = '' + ${python.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tubes + ''; + + pythonImportsCheck = [ "tubes" ]; + + meta = with lib; { + description = "a data-processing and flow-control engine for event-driven programs"; + homepage = "https://github.com/twisted/tubes"; + license = licenses.mit; + maintainers = with maintainers; [ exarkun ]; + }; +} |