python310Packages.ovoenergy: add format
This commit is contained in:
parent
d3d2c44a26
commit
15c873dca9
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user