From 8acf542218312b27acf2453989ea919bc570f649 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 May 2024 11:25:09 +0200 Subject: [PATCH 1/3] python312Packages.garth: 0.4.45 -> 0.4.46 Changelog: https://github.com/matin/garth/releases/tag/0.4.46 --- pkgs/development/python-modules/garth/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/garth/default.nix b/pkgs/development/python-modules/garth/default.nix index c3e6bae9ed42..cfa7cb95ecf6 100644 --- a/pkgs/development/python-modules/garth/default.nix +++ b/pkgs/development/python-modules/garth/default.nix @@ -12,21 +12,21 @@ buildPythonPackage rec { pname = "garth"; - version = "0.4.45"; + version = "0.4.46"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-dN4WQZ2FLkyqCGYFBICodHR7yBdrLvx4NE6OqB0SgZo="; + hash = "sha256-WuGeZ2EggyhbEDIbjg4ffIFaj2DyHi8Tvowhoi5k2Os="; }; nativeBuildInputs = [ pdm-backend ]; - propagatedBuildInputs = [ + dependencies = [ pydantic requests requests-oauthlib From 0e34b4f7b50b98b0718f969b5c47211f030abb51 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 May 2024 19:11:08 +0200 Subject: [PATCH 2/3] python312Packages.garth: refactor --- pkgs/development/python-modules/garth/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/garth/default.nix b/pkgs/development/python-modules/garth/default.nix index cfa7cb95ecf6..af2c4e514a55 100644 --- a/pkgs/development/python-modules/garth/default.nix +++ b/pkgs/development/python-modules/garth/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { hash = "sha256-WuGeZ2EggyhbEDIbjg4ffIFaj2DyHi8Tvowhoi5k2Os="; }; - nativeBuildInputs = [ + build-system = [ pdm-backend ]; From 9b078778daa971f587d032d78624e6227bd6bb97 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 May 2024 19:11:26 +0200 Subject: [PATCH 3/3] python312Packages.garth: format with nixfmt --- .../python-modules/garth/default.nix | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/garth/default.nix b/pkgs/development/python-modules/garth/default.nix index af2c4e514a55..16bd5bb9085d 100644 --- a/pkgs/development/python-modules/garth/default.nix +++ b/pkgs/development/python-modules/garth/default.nix @@ -1,13 +1,14 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pdm-backend -, pydantic -, pytest-vcr -, pytestCheckHook -, pythonOlder -, requests -, requests-oauthlib +{ + lib, + buildPythonPackage, + fetchPypi, + pdm-backend, + pydantic, + pytest-vcr, + pytestCheckHook, + pythonOlder, + requests, + requests-oauthlib, }: buildPythonPackage rec { @@ -22,9 +23,7 @@ buildPythonPackage rec { hash = "sha256-WuGeZ2EggyhbEDIbjg4ffIFaj2DyHi8Tvowhoi5k2Os="; }; - build-system = [ - pdm-backend - ]; + build-system = [ pdm-backend ]; dependencies = [ pydantic @@ -37,9 +36,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "garth" - ]; + pythonImportsCheck = [ "garth" ]; disabledTests = [ # Tests require network access