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";
|
2020-06-06 07:47:14 +01:00
|
|
|
version = "3.0.0";
|
2019-01-18 11:28:26 +00:00
|
|
|
|
2018-09-03 01:20:50 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:14 +01:00
|
|
|
sha256 = "31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e";
|
2018-09-03 01:20:50 +01:00
|
|
|
};
|
2019-01-18 11:28:26 +00:00
|
|
|
|
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
|
|
|
}
|