075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
47 lines
922 B
Nix
47 lines
922 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
tempora,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-logging";
|
|
version = "3.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "jaraco_logging";
|
|
inherit version;
|
|
hash = "sha256-59bcg2hHfOaesdbthR2AWJahypQs4/0Xc1gDEbC3dfs=";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i "/coherent\.licensed/d" pyproject.toml
|
|
'';
|
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [ tempora ];
|
|
|
|
# test no longer packaged with pypi
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "jaraco.logging" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|