Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 54 lines 984 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 contexter, 6 eventlet, 7 mock, 8 pytest-xdist, 9 pytestCheckHook, 10 six, 11}: 12 13buildPythonPackage rec { 14 pname = "signalslot"; 15 version = "0.2.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-ZNodibNGfCOa8xd3myN+cRa28rY3/ynNUia1kwjTIOU="; 21 }; 22 23 postPatch = '' 24 substituteInPlace setup.cfg \ 25 --replace "--pep8 --cov" "" \ 26 --replace "--cov-report html" "" 27 ''; 28 29 30 propagatedBuildInputs = [ 31 contexter 32 six 33 ]; 34 35 pythonRemoveDeps = [ 36 "weakrefmethod" # needed until https://github.com/Numergy/signalslot/pull/17 37 ]; 38 39 nativeCheckInputs = [ 40 eventlet 41 mock 42 pytest-xdist 43 pytestCheckHook 44 ]; 45 46 pythonImportsCheck = [ "signalslot" ]; 47 48 meta = with lib; { 49 description = "Simple Signal/Slot implementation"; 50 homepage = "https://github.com/numergy/signalslot"; 51 license = licenses.mit; 52 maintainers = with maintainers; [ myaats ]; 53 }; 54}