Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
861 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook}:
buildPythonPackage rec { pname = "pyfronius"; version = "0.7.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "nielstron"; repo = pname; rev = "release-${version}"; hash = "sha256-eWe4nXKW9oP9lqehy6BK7ABaIqP3dgRX6ymW1Okfd9g="; };
propagatedBuildInputs = [ aiohttp ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyfronius" ];
meta = with lib; { description = "Python module to communicate with Fronius Symo"; homepage = "https://github.com/nielstron/pyfronius"; changelog = "https://github.com/nielstron/pyfronius/releases/tag/release-${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}