2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
2020-07-18 16:06:22 +00:00
|
|
|
, tempora, six
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.logging";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "3.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ tempora six ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# test no longer packaged with pypi
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jaraco.logging" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Support for Python logging facility";
|
|
|
|
homepage = "https://github.com/jaraco/jaraco.logging";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|