Merge pull request #282841 from siddharthdhakane/nameko

python311Packages.nameko: init at 2.4.1
This commit is contained in:
Sandro 2024-02-04 00:48:19 +01:00 committed by GitHub
commit f9dd9c31a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 79 additions and 0 deletions

View File

@ -17297,6 +17297,12 @@
github = "shymega";
githubId = 1334592;
};
siddharthdhakane = {
email = "siddharthdhakane@gmail.com";
github = "siddharthdhakane";
githubId = 28101092;
name = "Siddharth Dhakane";
};
siddharthist = {
email = "langston.barrett@gmail.com";
github = "langston-barrett";

View File

@ -0,0 +1,71 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# install_requires
, dnspython
, eventlet
, kombu
, mock
, packaging
, path
, pyyaml
, requests
, setuptools
, six
, werkzeug
, wrapt
}:
buildPythonPackage rec {
pname = "nameko";
version = "2.14.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-J1NXi7Tca5KAGuozTSkwuX37dEhucF7daRmDBqlGjIg=";
};
postPatch = ''
substituteInPlace setup.py --replace "path.py" "path"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
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 = with lib; {
description = "A microservices framework that lets service developers concentrate on application logic and encourages testability";
homepage = "https://www.nameko.io/";
changelog = "https://github.com/nameko/nameko/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ siddharthdhakane ];
};
}

View File

@ -8178,6 +8178,8 @@ self: super: with self; {
name-that-hash = callPackage ../development/python-modules/name-that-hash { };
nameko = callPackage ../development/python-modules/nameko { };
nampa = callPackage ../development/python-modules/nampa { };
nanoid = callPackage ../development/python-modules/nanoid { };