Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
907 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, paho-mqtt, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "pyeconet"; version = "0.1.20"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "w1ll1am23"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-x94V6qdDHgeeFLAuciC7mHMWbC0d3AtS0aQNaZOCajI="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ paho-mqtt aiohttp ];
# Tests require credentials doCheck = false;
pythonImportsCheck = [ "pyeconet" ];
meta = with lib; { description = "Python interface to the EcoNet API"; homepage = "https://github.com/w1ll1am23/pyeconet"; changelog = "https://github.com/w1ll1am23/pyeconet/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}