depot/third_party/nixpkgs/pkgs/development/python-modules/opencensus/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

40 lines
804 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, unittestCheckHook
, 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 = "A stats collection and distributed tracing framework";
homepage = "https://github.com/census-instrumentation/opencensus-python";
license = licenses.asl20;
maintainers = with maintainers; [ billhuang ];
};
}