mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #222439 from fabaff/easyenergy-bump
python310Packages.easyenergy: 0.2.1 -> 0.2.2
This commit is contained in:
commit
3abc1e7893
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "easyenergy";
|
||||
version = "0.2.1";
|
||||
version = "0.2.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "klaasnicolaas";
|
||||
repo = "python-easyenergy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FjqkePMD55LWLwL6ZWzKwCI0tcYACPdRuci5fy6n02s=";
|
||||
hash = "sha256-jo9Gn5ZPm9jSTB4m1yy779hqzby9abFFDSnKLxYqccg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -51,6 +51,20 @@ buildPythonPackage rec {
|
||||
"easyenergy"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_json_request"
|
||||
"test_internal_session"
|
||||
"test_electricity_model_usage"
|
||||
"test_electricity_model_return"
|
||||
"test_electricity_none_data"
|
||||
"test_no_electricity_data"
|
||||
"test_gas_morning_model"
|
||||
"test_gas_model"
|
||||
"test_gas_none_data"
|
||||
"test_no_gas_data"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for getting energy/gas prices from easyEnergy";
|
||||
homepage = "https://github.com/klaasnicolaas/python-easyenergy";
|
||||
|
Loading…
Reference in New Issue
Block a user