Commit 2b5995c9 authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Package.cx-logging: init at 3.2.1

parent 0242d91e
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  filelock,
}:

buildPythonPackage (finalAttrs: {
  pname = "cx-logging";
  version = "3.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "anthony-tuininga";
    repo = "cx_Logging";
    tag = "v${finalAttrs.version}";
    hash = "sha256-aBLIzjkB0X8jboEQ3CNHLBPX5Mx1IJjmPKvJRqcfozI=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools>=70.1,<75" "setuptools"
  '';

  build-system = [ setuptools ];

  dependencies = [ filelock ];

  pythonImportsCheck = [ "cx_Logging" ];

  meta = {
    description = "Python and C interfaces for logging";
    changelog = "https://github.com/anthony-tuininga/cx_Logging/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -3452,6 +3452,8 @@ self: super: with self; {
  cx-freeze = callPackage ../development/python-modules/cx-freeze { };
  cx-logging = callPackage ../development/python-modules/cx-logging { };
  cx-oracle = callPackage ../development/python-modules/cx-oracle { };
  cxxfilt = callPackage ../development/python-modules/cxxfilt { };