Files
nixpkgs/pkgs/development/python-modules/face/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

45 lines
946 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
boltons,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "face";
version = "24.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-YR4poBrFlw8Ad/nFd+dG1IwIJYi0EbM6DdVcTYcpSfY=";
};
build-system = [ setuptools ];
dependencies = [ boltons ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "face" ];
disabledTests = [
# Assertion error as we take the Python release into account
"test_search_prs_basic"
"test_module_shortcut"
];
meta = {
description = "Command-line interface parser and framework";
longDescription = ''
A command-line interface parser and framework, friendly for
users, full-featured for developers.
'';
homepage = "https://github.com/mahmoud/face";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ twey ];
};
}