nixpkgs/pkgs/development/python-modules/jaraco_logging/default.nix

30 lines
679 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, setuptools_scm
, tempora, six
}:
buildPythonPackage rec {
pname = "jaraco.logging";
version = "3.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "150dc8701207b28bc65a16f0e91c07250a8d1b9da324ce674c0e375774944f13";
};
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ tempora six ];
# 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";
license = licenses.mit;
};
}