1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "backcall"; 9 version = "0.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e"; 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}