Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 version = "2.0.5"; 9 pname = "pydispatcher"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m"; 14 }; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 py.test 20 ''; 21 22 meta = with stdenv.lib; { 23 homepage = http://pydispatcher.sourceforge.net/; 24 description = "Signal-registration and routing infrastructure for use in multiple contexts"; 25 license = licenses.bsd3; 26 }; 27 28}