1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4}: 5 6buildPythonPackage rec { 7 pname = "expects"; 8 version = "0.9.0"; 9 10 src = fetchFromGitHub { 11 owner = "jaimegildesagredo"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "0mk1mhh8n9ly820krkhazn1w96f10vmgh21y2wr44sn8vwr4ngyy"; 15 }; 16 17 # mamba is used as test runner. Not available and should not be used as 18 # it's just another unmaintained test runner. 19 doCheck = false; 20 pythonImportsCheck = [ "expects" ]; 21 22 meta = with lib; { 23 description = "Expressive and extensible TDD/BDD assertion library for Python"; 24 homepage = "https://expects.readthedocs.io/"; 25 license = with licenses; [ asl20 ]; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}