forked from mirrors/nixpkgs
Merge pull request #158958 from fabaff/format-limiter
python310Packages.ovoenergy: add format
This commit is contained in:
commit
df2a926965
|
@ -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 a new issue