Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 48 lines 1.0 kB view raw
1{ 2 lib, 3 aiolifx, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7 poetry-core, 8 pytest-asyncio, 9 pytest-cov-stub, 10 pytestCheckHook, 11 pythonOlder, 12}: 13 14buildPythonPackage rec { 15 pname = "aiolifx-themes"; 16 version = "0.5.8"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; 20 21 src = fetchFromGitHub { 22 owner = "Djelibeybi"; 23 repo = "aiolifx-themes"; 24 rev = "refs/tags/v${version}"; 25 hash = "sha256-MeGhtjdvtL0armoLrlqPsV4SUCTWbkBvRTj6ReuKQpQ="; 26 }; 27 28 build-system = [ poetry-core ]; 29 30 dependencies = [ aiolifx ]; 31 32 nativeCheckInputs = [ 33 async-timeout 34 pytestCheckHook 35 pytest-asyncio 36 pytest-cov-stub 37 ]; 38 39 pythonImportsCheck = [ "aiolifx_themes" ]; 40 41 meta = with lib; { 42 description = "Color themes for LIFX lights running on aiolifx"; 43 homepage = "https://github.com/Djelibeybi/aiolifx-themes"; 44 changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/v${version}"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ lukegb ]; 47 }; 48}