2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pyusb,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "blinkstick";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "unstable-2023-05-04";
|
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "arvydas";
|
|
|
|
repo = "blinkstick-python";
|
|
|
|
rev = "8140b9fa18a9ff4f0e9df8e70c073f41cb8f1d35";
|
|
|
|
hash = "sha256-9bc7TD/Ilc952ywLauFd0+3Lh64lQlYuDC1KG9eWDgs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyusb ];
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "blinkstick" ];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python package to control BlinkStick USB devices";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "blinkstick";
|
2021-02-13 14:23:35 +00:00
|
|
|
homepage = "https://github.com/arvydas/blinkstick-python";
|
2023-11-16 04:20:00 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
np
|
|
|
|
perstark
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|