Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
896 B · 44 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, pyserial-asyncio, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pyotgw"; version = "2.1.3"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "mvn23"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-XIwBGjvIulKLmYZIorKIJwoHTNOIYYX8US2Na8MZ2LA="; };
propagatedBuildInputs = [ pyserial-asyncio ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "pyotgw" ];
meta = with lib; { description = "Python module to interact the OpenTherm Gateway"; homepage = "https://github.com/mvn23/pyotgw"; changelog = "https://github.com/mvn23/pyotgw/blob/${version}/CHANGELOG.md"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; };}