mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
31 lines
747 B
Nix
31 lines
747 B
Nix
{ lib, buildPythonPackage, fetchPypi, python
|
|
, characteristic, six, twisted
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tubes";
|
|
version = "0.2.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "Tubes";
|
|
inherit version;
|
|
hash = "sha256-WbkZfy+m9/xrwygd5VeXrccpu3XJxhO09tbEFZnw14s=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|