Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.busylight-for-humans: 0.32.0 -> 0.33.0 #368781

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
python312Packages.busylight-for-humans: 0.32.0 -> 0.33.0
  • Loading branch information
fabaff committed Dec 28, 2024
commit 73f9b16d4ff6a304033d81fb158651bd2a5d2503
35 changes: 16 additions & 19 deletions pkgs/development/python-modules/busylight-for-humans/default.nix
Original file line number Diff line number Diff line change
@@ -1,40 +1,35 @@
{
lib,
bitvector-for-humans,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
poetry-core,
pytestCheckHook,
pytest-mock,
bitvector-for-humans,
hidapi,
loguru,
poetry-core,
pyserial,
pytest-mock,
pytestCheckHook,
pythonOlder,
typer,
webcolors,
}:

buildPythonPackage rec {
pname = "busylight-for-humans";
version = "0.32.0";
version = "0.33.0";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "JnyJny";
repo = "busylight";
rev = version;
hash = "sha256-rdgkTk9x3bO5H01Bo2yOGIIxkoLv1k7kkJidJu/1HDQ=";
tag = version;
hash = "sha256-gwhN8aFwxRdA6fPuCDVdBJ8yl8Zq6DAfSRW88Yk7IUk=";
};

patches = [
(fetchpatch2 {
# https://github.com/JnyJny/busylight/pull/369
name = "fix-poetry-core.patch";
url = "https://github.com/helsinki-systems/busylight/commit/74ca283e2250564f422d904ece1b9ab0dd9a8f6c.patch";
hash = "sha256-eif9ycSYL8ZpXsvNCOHDJlpj12oauyzlMKUScZMzllc=";
})
];

build-system = [ poetry-core ];

dependencies = [
bitvector-for-humans
hidapi
Expand All @@ -43,6 +38,7 @@ buildPythonPackage rec {
typer
webcolors
];

nativeCheckInputs = [
pytestCheckHook
pytest-mock
Expand All @@ -58,10 +54,11 @@ buildPythonPackage rec {
'';

meta = with lib; {
description = "Control USB connected presence lights from multiple vendors via the command-line or web API";
homepage = "https://github.com/JnyJny/busylight";
description = "Control USB connected presence lights from multiple vendors via the command-line or web API.";
mainProgram = "busylight";
changelog = "https://github.com/JnyJny/busylight/releases/tag/${version}";
license = licenses.asl20;
maintainers = teams.helsinki-systems.members;
mainProgram = "busylight";
};
}
Loading