diff --git a/pkgs/development/python-modules/aiopvpc/default.nix b/pkgs/development/python-modules/aiopvpc/default.nix index efbe695673aa..74c85eb11a24 100644 --- a/pkgs/development/python-modules/aiopvpc/default.nix +++ b/pkgs/development/python-modules/aiopvpc/default.nix @@ -15,15 +15,16 @@ buildPythonPackage rec { pname = "aiopvpc"; - version = "2.2.0"; - disabled = pythonOlder "3.8"; + version = "2.2.2"; format = "pyproject"; + disabled = pythonOlder "3.8"; + src = fetchFromGitHub { owner = "azogue"; repo = pname; rev = "v${version}"; - sha256 = "1hk3giwzzlcqnpw9kx3zrr808nmdb7qwac60fki5395qffd2fpqw"; + sha256 = "sha256-wNMHzeKJ1kG0jnoI5fO3d5CBXE0cyoK92BkGunXK3pI="; }; nativeBuildInputs = [ @@ -49,7 +50,9 @@ buildPythonPackage rec { " --cov --cov-report term --cov-report html" "" ''; - pythonImportsCheck = [ "aiopvpc" ]; + pythonImportsCheck = [ + "aiopvpc" + ]; meta = with lib; { description = "Python module to download Spanish electricity hourly prices (PVPC)"; diff --git a/pkgs/development/python-modules/holidays/default.nix b/pkgs/development/python-modules/holidays/default.nix index 7ac02fa05ac9..10d333301641 100644 --- a/pkgs/development/python-modules/holidays/default.nix +++ b/pkgs/development/python-modules/holidays/default.nix @@ -7,17 +7,18 @@ , korean-lunar-calendar , pytestCheckHook , pythonOlder -, six }: buildPythonPackage rec { pname = "holidays"; version = "0.11.3.1"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "4855afe0ebf428efbcf848477828b889f8515be7f4f15ae26682919369d92774"; + sha256 = "sha256-SFWv4Ov0KO+8+EhHeCi4ifhRW+f08VriZoKRk2nZJ3Q="; }; propagatedBuildInputs = [ @@ -25,18 +26,19 @@ buildPythonPackage rec { python-dateutil hijri-converter korean-lunar-calendar - six ]; checkInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "holidays" ]; + pythonImportsCheck = [ + "holidays" + ]; meta = with lib; { - homepage = "https://github.com/dr-prodigy/python-holidays"; description = "Generate and work with holidays in Python"; + homepage = "https://github.com/dr-prodigy/python-holidays"; license = licenses.mit; maintainers = with maintainers; [ jluttine ]; };