Loading pkgs/development/python-modules/sunweg/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , requests }: buildPythonPackage rec { pname = "sunweg"; version = "0.0.8"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "rokam"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-IIVVLBoyMwp5BsdIf4Q6e5ObXONm1odpgxOE6tkFH5s="; }; propagatedBuildInputs = [ requests ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "sunweg" ]; meta = with lib; { description = "Module to access the WEG solar energy platform"; homepage = "https://github.com/rokam/sunweg"; changelog = "https://github.com/rokam/sunweg/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11204,6 +11204,8 @@ self: super: with self; { sunwatcher = callPackage ../development/python-modules/sunwatcher { }; sunweg = callPackage ../development/python-modules/sunweg { }; supervise_api = callPackage ../development/python-modules/supervise_api { }; supervisor = callPackage ../development/python-modules/supervisor { }; Loading Loading
pkgs/development/python-modules/sunweg/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , requests }: buildPythonPackage rec { pname = "sunweg"; version = "0.0.8"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "rokam"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-IIVVLBoyMwp5BsdIf4Q6e5ObXONm1odpgxOE6tkFH5s="; }; propagatedBuildInputs = [ requests ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "sunweg" ]; meta = with lib; { description = "Module to access the WEG solar energy platform"; homepage = "https://github.com/rokam/sunweg"; changelog = "https://github.com/rokam/sunweg/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11204,6 +11204,8 @@ self: super: with self; { sunwatcher = callPackage ../development/python-modules/sunwatcher { }; sunweg = callPackage ../development/python-modules/sunweg { }; supervise_api = callPackage ../development/python-modules/supervise_api { }; supervisor = callPackage ../development/python-modules/supervisor { }; Loading