Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 boltons, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "face"; 12 version = "22.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-1daS+QvI9Zh7Y25H42OEubvaSZqvCneqCwu+g0x2kj0="; 20 }; 21 22 propagatedBuildInputs = [ boltons ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "face" ]; 27 28 disabledTests = [ 29 # Assertion error as we take the Python release into account 30 "test_search_prs_basic" 31 ]; 32 33 meta = with lib; { 34 description = "Command-line interface parser and framework"; 35 longDescription = '' 36 A command-line interface parser and framework, friendly for 37 users, full-featured for developers. 38 ''; 39 homepage = "https://github.com/mahmoud/face"; 40 license = licenses.bsd3; 41 maintainers = with maintainers; [ twey ]; 42 }; 43}