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