From 23025f98ec2d2798d3b514ae98e8acc12f63388a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Feb 2023 01:43:38 +0100 Subject: [PATCH] python3Packages.pysensibo: 1.0.24 -> 1.0.25 Switch to pypi fetcher, because the git sources are not tagged and I couldn't find a working commit. --- .../development/python-modules/pysensibo/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pysensibo/default.nix b/pkgs/development/python-modules/pysensibo/default.nix index ad68da4478db..54ada321371a 100644 --- a/pkgs/development/python-modules/pysensibo/default.nix +++ b/pkgs/development/python-modules/pysensibo/default.nix @@ -1,22 +1,20 @@ { lib , aiohttp , buildPythonPackage -, fetchFromGitHub +, fetchPypi , pythonOlder }: buildPythonPackage rec { pname = "pysensibo"; - version = "1.0.24"; + version = "1.0.25"; format = "setuptools"; disabled = pythonOlder "3.7"; - src = fetchFromGitHub { - owner = "andrey-git"; - repo = pname; - rev = "refs/tags/${version}"; - hash = "sha256-lLorBf4HjynkTyLfKGcxEpSzyCawjKDej/HFtHl/Ar8="; + src = fetchPypi { + inherit pname version; + hash = "sha256-AZpqV/CQ8TLKjaee9b0Zbu6WfnGNenKIvot+TTTSikg="; }; propagatedBuildInputs = [