2019-01-18 11:28:26 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
|
|
|
, tempora, six, pytest, pytest-flake8 }:
|
2018-09-03 01:20:50 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.logging";
|
2019-01-16 22:40:44 +00:00
|
|
|
version = "2.0";
|
2019-01-18 11:28:26 +00:00
|
|
|
|
2018-09-03 01:20:50 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-16 22:40:44 +00:00
|
|
|
sha256 = "1lb846j7qs1hgqwkyifv51nhl3f8jimbc4lk8yn9nkaynw0vyzcg";
|
2018-09-03 01:20:50 +01:00
|
|
|
};
|
2019-01-18 11:28:26 +00:00
|
|
|
|
2018-09-03 01:20:50 +01:00
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ tempora six ];
|
2019-01-18 11:28:26 +00:00
|
|
|
checkInputs = [ pytest pytest-flake8 ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
PYTHONPATH=".:$PYTHONPATH" pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Support for Python logging facility";
|
|
|
|
homepage = https://github.com/jaraco/jaraco.logging;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2018-09-03 01:20:50 +01:00
|
|
|
}
|