python310Packages.ovoenergy: add format

This commit is contained in:
Fabian Affolter 2022-02-10 13:35:37 +01:00
parent d3d2c44a26
commit 15c873dca9

View File

@ -9,13 +9,15 @@
buildPythonPackage rec {
pname = "ovoenergy";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "timmo001";
repo = pname;
rev = "v${version}";
sha256 = "sha256-OSK74uvpHuEtWgbLVFrz1NO7lvtHbt690smGQ+GlsOI=";
hash = "sha256-OSK74uvpHuEtWgbLVFrz1NO7lvtHbt690smGQ+GlsOI=";
};
propagatedBuildInputs = [
@ -26,7 +28,9 @@ buildPythonPackage rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ovoenergy" ];
pythonImportsCheck = [
"ovoenergy"
];
meta = with lib; {
description = "Python client for getting data from OVO's API";