9 buildPythonPackage rec {
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
19 rev = "refs/tags/${version}";
20 hash = "sha256-S92PybN+pReI9WtJr9as95uceicsSMadMQfh9JxsE8U=";
23 propagatedBuildInputs = [
30 pythonImportsCheck = [
35 description = "Module to access the WEG solar energy platform";
36 homepage = "https://github.com/rokam/sunweg";
37 changelog = "https://github.com/rokam/sunweg/releases/tag/${version}";
38 license = licenses.mit;
39 maintainers = with maintainers; [ fab ];