summary refs log tree commit diff
path: root/pkgs/development/python-modules/jaeger-client
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-09-02 11:59:41 -0300
committersuperherointj <5861043+superherointj@users.noreply.github.com>2021-10-22 10:44:51 -0300
commit967d7610a060d840ad0d688102c8f3b79fcde4f2 (patch)
tree4c91a5bc9e67273efa7a4a31e2b05d838ea0f7e5 /pkgs/development/python-modules/jaeger-client
parentbe04d53db2536d4e13ebb37023bc405a724ad447 (diff)
downloadnixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.tar
nixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.tar.gz
nixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.tar.bz2
nixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.tar.lz
nixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.tar.xz
nixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.tar.zst
nixpkgs-967d7610a060d840ad0d688102c8f3b79fcde4f2.zip
python3Packages.jaeger-client: init 4.6.1
Diffstat (limited to 'pkgs/development/python-modules/jaeger-client')
-rw-r--r--pkgs/development/python-modules/jaeger-client/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jaeger-client/default.nix b/pkgs/development/python-modules/jaeger-client/default.nix
new file mode 100644
index 00000000000..05a76333af0
--- /dev/null
+++ b/pkgs/development/python-modules/jaeger-client/default.nix
@@ -0,0 +1,40 @@
+{ buildPythonPackage
+, fetchPypi
+, lib
+, opentracing
+, threadloop
+, thrift
+, tornado
+}:
+
+buildPythonPackage rec {
+  pname = "jaeger-client";
+  version = "4.6.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "3bc27ad77e035efd0899f377a15f180467fec44b2afbf5be0660cc888a2a4ac3";
+  };
+
+  propagatedBuildInputs = [
+    threadloop
+    thrift
+    tornado
+    opentracing
+  ];
+
+  # FIXME: Missing dependencies: tchannel, opentracing_instrumentation
+  # opentracing_instrumentation: Requires "tornado" lower than 6. Current is 6.1.
+  # https://github.com/uber-common/opentracing-python-instrumentation/pull/115
+  doCheck = false;
+
+  pythonImportsCheck = [ "jaeger_client" ];
+
+  meta = with lib; {
+    description = "Jaeger bindings for Python OpenTracing API";
+    downloadPage = "https://pypi.org/project/jaeger-client/";
+    homepage = "https://github.com/jaegertracing/jaeger-client-python";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ superherointj ];
+  };
+}