Something went wrong. Try again.
lol
Something went wrong. Try again.
812 B · 34 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "goodwe"; version = "0.4.10"; pyproject = true;
src = fetchFromGitHub { owner = "marcelblijleven"; repo = "goodwe"; tag = "v${finalAttrs.version}"; hash = "sha256-2wnfc+W1lhUgvWa1iwHxJu4WGZHaXvmxgtBAkTJHJ3E="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "goodwe" ];
meta = { description = "Python library for connecting to GoodWe inverter"; homepage = "https://github.com/marcelblijleven/goodwe"; changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})