depot/third_party/nixpkgs/pkgs/development/python-modules/opencensus/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

39 lines
781 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, unittestCheckHook
, google-api-core
, opencensus-context
}:
buildPythonPackage rec {
pname = "opencensus";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-AmIWq6uJ2U2FBJLz3GWVAFXsT4QRX6bHvq/7pEo0bkI=";
};
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 ];
};
}