504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
40 lines
804 B
Nix
40 lines
804 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, unittestCheckHook
|
|
, google-api-core
|
|
, opencensus-context
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "opencensus";
|
|
version = "0.11.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-r3qYvVHmOWgUTXcvNG1pbtSYoy29xL4mfNYBHEzgXag=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|