nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 881 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 pyserial-asyncio-fast, 7 pytest-asyncio, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "elkm1-lib"; 13 version = "2.2.13"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "gwww"; 18 repo = "elkm1"; 19 tag = version; 20 hash = "sha256-Z8OfaRggVkGzX7d/O8a7L110ophj3sKD2x5JskusUe8="; 21 }; 22 23 build-system = [ hatchling ]; 24 25 dependencies = [ 26 pyserial-asyncio-fast 27 ]; 28 29 nativeCheckInputs = [ 30 pytest-asyncio 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "elkm1_lib" ]; 35 36 meta = { 37 description = "Python module for interacting with ElkM1 alarm/automation panel"; 38 homepage = "https://github.com/gwww/elkm1"; 39 changelog = "https://github.com/gwww/elkm1/blob/${version}/CHANGELOG.md"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}