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