From eeed703362e911be95ece32a568a16e88eaf1ecd Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 5 Dec 2024 10:42:53 +0100 Subject: [PATCH] python312Packages.oslo-log: misc cleaning --- .../python-modules/oslo-log/default.nix | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/oslo-log/default.nix b/pkgs/development/python-modules/oslo-log/default.nix index 8e3c1514d733..196f66bf3cbd 100644 --- a/pkgs/development/python-modules/oslo-log/default.nix +++ b/pkgs/development/python-modules/oslo-log/default.nix @@ -3,18 +3,23 @@ stdenv, buildPythonPackage, fetchPypi, - eventlet, + + # build-system + setuptools, + + # dependencies oslo-config, oslo-context, oslo-serialization, oslo-utils, - oslotest, pbr, - pyinotify, python-dateutil, + pyinotify, + + # tests + eventlet, + oslotest, pytestCheckHook, - pythonOlder, - setuptools, }: buildPythonPackage rec { @@ -22,8 +27,6 @@ buildPythonPackage rec { version = "6.1.2"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { pname = "oslo.log"; inherit version; @@ -58,11 +61,11 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; - meta = with lib; { + meta = { description = "oslo.log library"; mainProgram = "convert-json"; homepage = "https://github.com/openstack/oslo.log"; - license = licenses.asl20; - maintainers = teams.openstack.members; + license = lib.licenses.asl20; + maintainers = lib.teams.openstack.members; }; }