From 0ab313925235554286f811304367c0de0899fa0e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 Apr 2024 00:08:48 +0000 Subject: [PATCH 1/3] python311Packages.pysolcast: 2.0.1 -> 2.0.2 --- pkgs/development/python-modules/pysolcast/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysolcast/default.nix b/pkgs/development/python-modules/pysolcast/default.nix index 891856f35b8c..42298fcd6d53 100644 --- a/pkgs/development/python-modules/pysolcast/default.nix +++ b/pkgs/development/python-modules/pysolcast/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pysolcast"; - version = "2.0.1"; + version = "2.0.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "mcaulifn"; repo = "solcast"; rev = "refs/tags/v${version}"; - hash = "sha256-JzGrE6zKj16Uzm3EC8ysMbgP5ouA00Gact7NYXbEkXI="; + hash = "sha256-DXJkbAlkxBjUEbziFNdr8SilB2GRUoAwvrr0HY56Deg="; }; pythonRelaxDeps = [ From eee582a989d49c32ac2bc2cf3770b3572cbf4cfc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Apr 2024 11:04:31 +0200 Subject: [PATCH 2/3] python311Packages.pysolcast: refactor --- pkgs/development/python-modules/pysolcast/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysolcast/default.nix b/pkgs/development/python-modules/pysolcast/default.nix index 42298fcd6d53..8de00b91ace4 100644 --- a/pkgs/development/python-modules/pysolcast/default.nix +++ b/pkgs/development/python-modules/pysolcast/default.nix @@ -30,12 +30,15 @@ buildPythonPackage rec { "responses" ]; - nativeBuildInputs = [ + build-system = [ poetry-core + ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; - propagatedBuildInputs = [ + dependencies = [ anyconfig isodate pyyaml From e3ad273ffbf063b917bcf42f8950a1dda1f0eb95 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Apr 2024 11:04:54 +0200 Subject: [PATCH 3/3] python311Packages.pysolcast: format with nixfmt --- .../python-modules/pysolcast/default.nix | 41 ++++++++----------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/pkgs/development/python-modules/pysolcast/default.nix b/pkgs/development/python-modules/pysolcast/default.nix index 8de00b91ace4..3123b1f392c6 100644 --- a/pkgs/development/python-modules/pysolcast/default.nix +++ b/pkgs/development/python-modules/pysolcast/default.nix @@ -1,15 +1,16 @@ -{ lib -, anyconfig -, buildPythonPackage -, fetchFromGitHub -, isodate -, pytestCheckHook -, pythonOlder -, pyyaml -, requests -, responses -, poetry-core -, pythonRelaxDepsHook +{ + lib, + anyconfig, + buildPythonPackage, + fetchFromGitHub, + isodate, + pytestCheckHook, + pythonOlder, + pyyaml, + requests, + responses, + poetry-core, + pythonRelaxDepsHook, }: buildPythonPackage rec { @@ -26,17 +27,11 @@ buildPythonPackage rec { hash = "sha256-DXJkbAlkxBjUEbziFNdr8SilB2GRUoAwvrr0HY56Deg="; }; - pythonRelaxDeps = [ - "responses" - ]; + pythonRelaxDeps = [ "responses" ]; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ anyconfig @@ -50,9 +45,7 @@ buildPythonPackage rec { responses ]; - pythonImportsCheck = [ - "pysolcast" - ]; + pythonImportsCheck = [ "pysolcast" ]; meta = with lib; { description = "Python library for interacting with the Solcast API";