nixpkgs/pkgs/development/python-modules/nameko/default.nix
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

66 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# install_requires
dnspython,
eventlet,
kombu,
mock,
packaging,
path,
pyyaml,
requests,
setuptools,
six,
werkzeug,
wrapt,
}:
buildPythonPackage rec {
pname = "nameko";
version = "2.14.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-J1NXi7Tca5KAGuozTSkwuX37dEhucF7daRmDBqlGjIg=";
};
postPatch = ''
substituteInPlace setup.py --replace-fail "path.py" "path"
'';
build-system = [ setuptools ];
dependencies = [
dnspython
eventlet
kombu
mock
packaging
path
pyyaml
requests
setuptools
six
werkzeug
wrapt
];
# tests depend on RabbitMQ being installed - https://nameko.readthedocs.io/en/stable/contributing.html#running-the-tests
# and most of the tests are network based
doCheck = false;
pythonImportsCheck = [ "nameko" ];
meta = {
description = "Microservices framework that lets service developers concentrate on application logic and encourages testability";
mainProgram = "nameko";
homepage = "https://www.nameko.io/";
changelog = "https://github.com/nameko/nameko/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ siddharthdhakane ];
};
}