1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "backcall"; 9 version = "0.1.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4"; 14 }; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 py.test 20 ''; 21 22 meta = { 23 description = "Specifications for callback functions passed in to an API"; 24 homepage = https://github.com/takluyver/backcall; 25 license = lib.licenses.bsd3; 26 }; 27 28}