nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 66 lines 1.3 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # install_requires 7 dnspython, 8 eventlet, 9 kombu, 10 mock, 11 packaging, 12 path, 13 pyyaml, 14 requests, 15 setuptools, 16 six, 17 werkzeug, 18 wrapt, 19}: 20 21buildPythonPackage rec { 22 pname = "nameko"; 23 version = "2.14.1"; 24 pyproject = true; 25 26 src = fetchPypi { 27 inherit pname version; 28 hash = "sha256-J1NXi7Tca5KAGuozTSkwuX37dEhucF7daRmDBqlGjIg="; 29 }; 30 31 postPatch = '' 32 substituteInPlace setup.py --replace-fail "path.py" "path" 33 ''; 34 35 build-system = [ setuptools ]; 36 37 dependencies = [ 38 dnspython 39 eventlet 40 kombu 41 mock 42 packaging 43 path 44 pyyaml 45 requests 46 setuptools 47 six 48 werkzeug 49 wrapt 50 ]; 51 52 # tests depend on RabbitMQ being installed - https://nameko.readthedocs.io/en/stable/contributing.html#running-the-tests 53 # and most of the tests are network based 54 doCheck = false; 55 56 pythonImportsCheck = [ "nameko" ]; 57 58 meta = { 59 description = "Microservices framework that lets service developers concentrate on application logic and encourages testability"; 60 mainProgram = "nameko"; 61 homepage = "https://www.nameko.io/"; 62 changelog = "https://github.com/nameko/nameko/releases/tag/v${version}"; 63 license = lib.licenses.asl20; 64 maintainers = with lib.maintainers; [ siddharthdhakane ]; 65 }; 66}