Merge pull request #144716 from fabaff/bump-aiopvpc
This commit is contained in:
@@ -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)";
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user