2019-01-18 12:28:26 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
|
|
|
, tempora, six, pytest, pytest-flake8 }:
|
2018-09-03 02:20:50 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.logging";
|
2019-01-16 23:40:44 +01:00
|
|
|
version = "2.0";
|
2019-01-18 12:28:26 +01:00
|
|
|
|
2018-09-03 02:20:50 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-16 23:40:44 +01:00
|
|
|
sha256 = "1lb846j7qs1hgqwkyifv51nhl3f8jimbc4lk8yn9nkaynw0vyzcg";
|
2018-09-03 02:20:50 +02:00
|
|
|
};
|
2019-01-18 12:28:26 +01:00
|
|
|
|
2018-09-03 02:20:50 +02:00
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ tempora six ];
|
2019-01-18 12:28:26 +01: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 02:20:50 +02:00
|
|
|
}
|