From 087869a945c96289c96bd5a1985e8d173efd54a1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 21:57:38 +0200 Subject: [PATCH] python312Packages.aiohttp-socks: refactor --- .../python-modules/aiohttp-socks/default.nix | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/aiohttp-socks/default.nix b/pkgs/development/python-modules/aiohttp-socks/default.nix index ed55f090a52d..9a4820ccf2e4 100644 --- a/pkgs/development/python-modules/aiohttp-socks/default.nix +++ b/pkgs/development/python-modules/aiohttp-socks/default.nix @@ -1,16 +1,12 @@ { lib, - fetchPypi, - buildPythonPackage, - pythonOlder, - - # build-system - setuptools, - - # dependencies aiohttp, attrs, + buildPythonPackage, + fetchPypi, python-socks, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -18,7 +14,7 @@ buildPythonPackage rec { version = "0.9.0"; pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit version; @@ -26,9 +22,9 @@ buildPythonPackage rec { hash = "sha256-IhWaGvAmsinP5eoAfgZbs/5WOFqVGoJiOm9FiKZ1gAM="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp attrs python-socks @@ -41,7 +37,9 @@ buildPythonPackage rec { meta = { description = "SOCKS proxy connector for aiohttp"; - license = lib.licenses.asl20; homepage = "https://github.com/romis2012/aiohttp-socks"; + changelog = "https://github.com/romis2012/aiohttp-socks/releases/tag/v${version}"; + license = lib.licenses.asl20; + maintainers = [ ]; }; }