nixpkgs/pkgs/development/python-modules/jaraco_logging/default.nix

30 lines
679 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, setuptools_scm
, tempora, six
}:
buildPythonPackage rec {
pname = "jaraco.logging";
2020-06-06 07:47:14 +01:00
version = "3.0.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:14 +01:00
sha256 = "31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e";
};
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ tempora six ];
# test no longer packaged with pypi
doCheck = false;
pythonImportsCheck = [ "jaraco.logging" ];
meta = with lib; {
description = "Support for Python logging facility";
homepage = "https://github.com/jaraco/jaraco.logging";
license = licenses.mit;
};
}