python3Packages.ovoenergy: 1.2.0 -> 1.3.0

This commit is contained in:
Martin Weinelt 2022-12-30 20:13:30 +01:00
parent 3795acc160
commit 08491ea91e

View File

@ -3,12 +3,15 @@
, buildPythonPackage
, click
, fetchFromGitHub
, incremental
, pydantic
, pythonOlder
, typer
}:
buildPythonPackage rec {
pname = "ovoenergy";
version = "1.2.0";
version = "1.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -16,13 +19,24 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "timmo001";
repo = pname;
rev = "v${version}";
hash = "sha256-OSK74uvpHuEtWgbLVFrz1NO7lvtHbt690smGQ+GlsOI=";
rev = "refs/tags/${version}";
hash = "sha256-ZbLs8w0qeaV2qWP08FKnlZ3fefj15Bw2A2bGpL6/d0I=";
};
nativeBuildInputs = [
incremental
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "typer==0.6.1" "typer"
'';
propagatedBuildInputs = [
aiohttp
click
pydantic
typer
];
# Project has no tests