Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 44 lines 946 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 boltons, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "face"; 12 version = "24.0.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-YR4poBrFlw8Ad/nFd+dG1IwIJYi0EbM6DdVcTYcpSfY="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ 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 "test_module_shortcut" 32 ]; 33 34 meta = { 35 description = "Command-line interface parser and framework"; 36 longDescription = '' 37 A command-line interface parser and framework, friendly for 38 users, full-featured for developers. 39 ''; 40 homepage = "https://github.com/mahmoud/face"; 41 license = lib.licenses.bsd3; 42 maintainers = with lib.maintainers; [ twey ]; 43 }; 44}