Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
922 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, requests, setuptools,}:
buildPythonPackage rec { pname = "growattserver"; version = "1.5.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "indykoning"; repo = "PyPi_GrowattServer"; rev = "refs/tags/${version}"; hash = "sha256-ATxXjIF5QRsdLuXZCOWMwvbBzawrhlYZ+wodITz36sE="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
# Project has no tests doCheck = false;
pythonImportsCheck = [ "growattServer" ];
meta = with lib; { description = "Python package to retrieve information from Growatt units"; homepage = "https://github.com/indykoning/PyPi_GrowattServer"; changelog = "https://github.com/indykoning/PyPi_GrowattServer/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}