pythonPackages.pydispatcher: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 09:12:10 -04:00
committed by Frederik Rietdijk
parent 781d05c95a
commit e4c239aad9
2 changed files with 29 additions and 20 deletions

View File

@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
version = "2.0.5";
pname = "pydispatcher";
src = fetchPypi {
inherit pname version;
sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m";
};
buildInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
homepage = http://pydispatcher.sourceforge.net/;
description = "Signal-registration and routing infrastructure for use in multiple contexts";
license = licenses.bsd3;
};
}