python313Packages.aiousbwatcher: init at 1.1.1
Watch for USB devices to be plugged and unplugged!
This commit is contained in:
43
pkgs/development/python-modules/aiousbwatcher/default.nix
Normal file
43
pkgs/development/python-modules/aiousbwatcher/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
asyncinotify,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiousbwatcher";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "aiousbwatcher";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-M9MUaB3oHELHdtgaWri9nILnVQpF2FJvHrL68jXeOqg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ asyncinotify ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiousbwatcher" ];
|
||||
|
||||
meta = {
|
||||
description = "Watch for USB devices to be plugged and unplugged";
|
||||
homepage = "https://github.com/Bluetooth-Devices/aiousbwatcher";
|
||||
changelog = "https://github.com/Bluetooth-Devices/aiousbwatcher/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -471,6 +471,8 @@ self: super: with self; {
|
||||
|
||||
aiounittest = callPackage ../development/python-modules/aiounittest { };
|
||||
|
||||
aiousbwatcher = callPackage ../development/python-modules/aiousbwatcher { };
|
||||
|
||||
aiovlc = callPackage ../development/python-modules/aiovlc { };
|
||||
|
||||
aiovodafone = callPackage ../development/python-modules/aiovodafone { };
|
||||
|
||||
Reference in New Issue
Block a user