mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-08 01:53:13 -05:00
41 lines
858 B
Nix
41 lines
858 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pyusb,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "blinkstick";
|
|
version = "1.2.0-unstable-2023-05-04";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arvydas";
|
|
repo = "blinkstick-python";
|
|
rev = "8140b9fa18a9ff4f0e9df8e70c073f41cb8f1d35";
|
|
hash = "sha256-9bc7TD/Ilc952ywLauFd0+3Lh64lQlYuDC1KG9eWDgs=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ 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
|
|
];
|
|
};
|
|
}
|