mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 10:34:16 +00:00
python3Packages.ovoenergy: 1.2.0 -> 1.3.0
This commit is contained in:
parent
3795acc160
commit
08491ea91e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user