Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, async-timeout, buildPythonPackage, fetchFromGitHub, webcolors, pythonOlder, pytest-asyncio, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "flux-led"; version = "1.2.0"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "Danielhiversen"; repo = "flux_led"; tag = version; hash = "sha256-+i+/WMHdz4HPKDlRPV1Aq9QqrTo5gZiulSc7Hinn+kI="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail '"pytest-runner>=5.2",' "" '';
build-system = [ setuptools ];
dependencies = [ async-timeout webcolors ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "flux_led" ];
meta = with lib; { description = "Python library to communicate with the flux_led smart bulbs"; homepage = "https://github.com/Danielhiversen/flux_led"; changelog = "https://github.com/Danielhiversen/flux_led/releases/tag/${version}"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ ]; platforms = platforms.linux; mainProgram = "flux_led"; };}