2021-08-23 08:02:39 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python
|
|
|
|
, characteristic, six, twisted
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tubes";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.2.1";
|
2021-08-23 08:02:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "Tubes";
|
|
|
|
inherit version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-WbkZfy+m9/xrwygd5VeXrccpu3XJxhO09tbEFZnw14s=";
|
2021-08-23 08:02:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|