Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / opencensus / default.nix
blobfa7141a8fb2eddfd4cd4a820ae665e1a274e76de
1 { buildPythonPackage
2 , fetchPypi
3 , lib
4 , unittestCheckHook
5 , google-api-core
6 , opencensus-context
7 }:
9 buildPythonPackage rec {
10   pname = "opencensus";
11   version = "0.11.3";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-r3qYvVHmOWgUTXcvNG1pbtSYoy29xL4mfNYBHEzgXag=";
16   };
18   propagatedBuildInputs = [
19     google-api-core
20     opencensus-context
21   ];
23   pythonNamespaces = [
24     "opencensus.common"
25   ];
27   doCheck = false; # No tests in sdist
29   pythonImportsCheck = [
30     "opencensus.common"
31   ];
33   meta = with lib; {
34     description = "A stats collection and distributed tracing framework";
35     homepage = "https://github.com/census-instrumentation/opencensus-python";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ billhuang ];
38   };