Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 50 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, async-timeout, buildPythonPackage, fetchFromGitHub, webcolors, pythonOlder, pytestCheckHook,}:
buildPythonPackage rec { pname = "flux-led"; version = "1.0.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Danielhiversen"; repo = "flux_led"; rev = "refs/tags/${version}"; hash = "sha256-enYo2hZ1C8jqO+8xZhSmIOJQAyrtVUJ9S/e2Bxzhv0I="; };
propagatedBuildInputs = [ async-timeout webcolors ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner>=5.2",' "" '';
pytestFlagsArray = [ "tests.py" ];
pythonImportsCheck = [ "flux_led" ];
meta = with lib; { description = "Python library to communicate with the flux_led smart bulbs"; mainProgram = "flux_led"; homepage = "https://github.com/Danielhiversen/flux_led"; changelog = "https://github.com/Danielhiversen/flux_led/releases/tag/${version}"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ colemickens ]; platforms = platforms.linux; };}