Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
789 B
Nix
37 lines
789 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pyusb,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "blinkstick";
|
|
version = "unstable-2023-05-04";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arvydas";
|
|
repo = "blinkstick-python";
|
|
rev = "8140b9fa18a9ff4f0e9df8e70c073f41cb8f1d35";
|
|
hash = "sha256-9bc7TD/Ilc952ywLauFd0+3Lh64lQlYuDC1KG9eWDgs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyusb ];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "blinkstick" ];
|
|
|
|
meta = {
|
|
description = "Python package to control BlinkStick USB devices";
|
|
mainProgram = "blinkstick";
|
|
homepage = "https://github.com/arvydas/blinkstick-python";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
np
|
|
perstark
|
|
];
|
|
};
|
|
}
|