From 67aae7e576fdbbdf664cac748dec1a80f6337b48 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 18:44:38 +0100 Subject: [PATCH] python312Packages.pylint-venv: refactor --- pkgs/development/python-modules/pylint-venv/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pylint-venv/default.nix b/pkgs/development/python-modules/pylint-venv/default.nix index 40c5f3d98f1b..de5daa466fdf 100644 --- a/pkgs/development/python-modules/pylint-venv/default.nix +++ b/pkgs/development/python-modules/pylint-venv/default.nix @@ -9,18 +9,18 @@ buildPythonPackage rec { pname = "pylint-venv"; version = "3.0.4"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "jgosmann"; - repo = pname; + repo = "pylint-venv"; rev = "refs/tags/v${version}"; hash = "sha256-dJWVfltze4zT0CowBZSn3alqR2Y8obKUCmO8Nfw+ahs="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; # Module has no tests doCheck = false; @@ -31,7 +31,7 @@ buildPythonPackage rec { description = "Module to make pylint respect virtual environments"; homepage = "https://github.com/jgosmann/pylint-venv/"; changelog = "https://github.com/jgosmann/pylint-venv/blob/v${version}/CHANGES.md"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }