blob: 6e170382a01bd3c0ff65a85e372657a45eb55811 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyusb,
}:
buildPythonPackage rec {
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
];
};
}
|