5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
50 lines
933 B
Nix
50 lines
933 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
, setuptools-scm
|
|
, tempora
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-logging";
|
|
version = "3.2.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "jaraco.logging";
|
|
inherit version;
|
|
hash = "sha256-X8ssPxI1HU1QN1trYPOJnFg3sjLxotj/y6/17NK3M+c=";
|
|
};
|
|
|
|
pythonNamespaces = [
|
|
"jaraco"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
tempora
|
|
];
|
|
|
|
# test no longer packaged with pypi
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"jaraco.logging"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Support for Python logging facility";
|
|
homepage = "https://github.com/jaraco/jaraco.logging";
|
|
changelog = "https://github.com/jaraco/jaraco.logging/blob/v${version}/NEWS.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|