c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
39 lines
779 B
Nix
39 lines
779 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, unittestCheckHook
|
|
, google-api-core
|
|
, opencensus-context
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "opencensus";
|
|
version = "0.11.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-YVQEKiNrns3VWiPfuydDuz3qzQaH4+A5HsLgx0lQ1m8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-api-core
|
|
opencensus-context
|
|
];
|
|
|
|
pythonNamespaces = [
|
|
"opencensus.common"
|
|
];
|
|
|
|
doCheck = false; # No tests in sdist
|
|
|
|
pythonImportsCheck = [
|
|
"opencensus.common"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A stats collection and distributed tracing framework";
|
|
homepage = "https://github.com/census-instrumentation/opencensus-python";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ billhuang ];
|
|
};
|
|
}
|