depot/third_party/nixpkgs/pkgs/development/python-modules/opencensus/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

36 lines
777 B
Nix

{
buildPythonPackage,
fetchPypi,
lib,
google-api-core,
opencensus-context,
}:
buildPythonPackage rec {
pname = "opencensus";
version = "0.11.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-y++H2Lh3MGSrYOXCoc7Vi7qjim0FLEGuwiSVjOVE7/I=";
};
propagatedBuildInputs = [
google-api-core
opencensus-context
];
pythonNamespaces = [ "opencensus.common" ];
doCheck = false; # No tests in sdist
pythonImportsCheck = [ "opencensus.common" ];
meta = with lib; {
description = "Stats collection and distributed tracing framework";
homepage = "https://github.com/census-instrumentation/opencensus-python";
license = licenses.asl20;
maintainers = with maintainers; [ billhuang ];
};
}