nixpkgs/pkgs/development/python-modules/opencensus-context/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

29 lines
630 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "opencensus-context";
version = "0.1.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-oDEIw8ENjIC7Xd9cih8DMWH6YZcqmRf5ubOhhRfwCIw=";
};
pythonNamespaces = [
"opencensus.common"
];
doCheck = false; # No tests in archive
meta = with lib; {
description = "OpenCensus Runtime Context";
homepage = "https://github.com/census-instrumentation/opencensus-python/tree/master/context/opencensus-context";
license = licenses.asl20;
maintainers = with maintainers; [ billhuang ];
};
}