2019-01-18 11:28:26 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
2020-06-23 01:49:22 +01:00
|
|
|
, tempora, six
|
2019-03-10 15:44:31 +00:00
|
|
|
}:
|
2018-09-03 01:20:50 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.logging";
|
2021-03-24 09:28:15 +00:00
|
|
|
version = "3.1.0";
|
2019-01-18 11:28:26 +00:00
|
|
|
|
2018-09-03 01:20:50 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:15 +00:00
|
|
|
sha256 = "150dc8701207b28bc65a16f0e91c07250a8d1b9da324ce674c0e375774944f13";
|
2018-09-03 01:20:50 +01:00
|
|
|
};
|
2019-01-18 11:28:26 +00:00
|
|
|
|
2020-11-20 18:53:49 +00:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2020-06-23 01:49:22 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2018-09-03 01:20:50 +01:00
|
|
|
propagatedBuildInputs = [ tempora six ];
|
2019-01-18 11:28:26 +00:00
|
|
|
|
2020-06-23 01:49:22 +01:00
|
|
|
# test no longer packaged with pypi
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jaraco.logging" ];
|
2019-01-18 11:28:26 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Support for Python logging facility";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jaraco/jaraco.logging";
|
2019-01-18 11:28:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2018-09-03 01:20:50 +01:00
|
|
|
}
|