Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, async-timeout, buildPythonPackage, fetchFromGitHub, fetchpatch, poetry-core, pyserial-asyncio, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "elkm1-lib"; version = "2.2.4"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "gwww"; repo = "elkm1"; rev = "refs/tags/${version}"; hash = "sha256-qqkKsVSspVBVxX96vlM8+6SqfdIBTcVyODJzQ4Ga+6g="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ async-timeout pyserial-asyncio ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "elkm1_lib" ];
meta = with lib; { description = "Python module for interacting with ElkM1 alarm/automation panel"; homepage = "https://github.com/gwww/elkm1"; changelog = "https://github.com/gwww/elkm1/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}