2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-26 15:12:10 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "2.0.5";
|
|
|
|
pname = "pydispatcher";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m";
|
|
|
|
};
|
|
|
|
|
2019-01-05 11:54:27 +01:00
|
|
|
checkInputs = [ pytest ];
|
2018-10-26 15:12:10 +02:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://pydispatcher.sourceforge.net/";
|
2018-10-26 15:12:10 +02:00
|
|
|
description = "Signal-registration and routing infrastructure for use in multiple contexts";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|