Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
769 B · 41 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, aiohttp, attrs, buildPythonPackage, fetchPypi, jmespath, pythonOlder}:
buildPythonPackage rec { pname = "pysma"; version = "0.7.4"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-4u564tLk91duYv1IClHddur6t+Rbla/e9P0yWAxw2sw="; };
propagatedBuildInputs = [ aiohttp attrs jmespath ];
# pypi does not contain tests and GitHub archive not available doCheck = false;
pythonImportsCheck = [ "pysma" ];
meta = with lib; { description = "Python library for interacting with SMA Solar's WebConnect"; homepage = "https://github.com/kellerza/pysma"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}