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