pythonPackages.opentracing: init at 2.2.0
This commit is contained in:
parent
b5401f0c65
commit
e5236a136d
34
pkgs/development/python-modules/opentracing/default.nix
Normal file
34
pkgs/development/python-modules/opentracing/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
|
, futures
|
||||||
|
, gevent
|
||||||
|
, mock
|
||||||
|
, pytest
|
||||||
|
, tornado }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "opentracing";
|
||||||
|
version = "2.2.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "cfd231ba5c58f90bc277787e62861eb0c6e4af76e42957bec240bbdf71fb7e0e";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = lib.optional isPy27 futures;
|
||||||
|
|
||||||
|
checkInputs = [ gevent mock pytest tornado ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/opentracing/opentracing-python;
|
||||||
|
description = "Platform API for OpenTracing";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ rakesh4g ];
|
||||||
|
};
|
||||||
|
}
|
@ -1982,6 +1982,8 @@ in {
|
|||||||
pythonPackages = self;
|
pythonPackages = self;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
opentracing = callPackage ../development/python-modules/opentracing { };
|
||||||
|
|
||||||
openidc-client = callPackage ../development/python-modules/openidc-client {};
|
openidc-client = callPackage ../development/python-modules/openidc-client {};
|
||||||
|
|
||||||
optuna = callPackage ../development/python-modules/optuna { };
|
optuna = callPackage ../development/python-modules/optuna { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user