python312Packages.usb-monitor: init at 1.21
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
lib,
|
||||
pyudev,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "usb-monitor";
|
||||
version = "1.21";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "usb_monitor";
|
||||
hash = "sha256-M+BUmbNxQWcULFECexTnp55EZiJ6y3bYCEtSwqKldAk=";
|
||||
};
|
||||
|
||||
dependencies = [ pyudev ];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "usbmonitor" ];
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform library for USB device monitoring";
|
||||
homepage = "https://github.com/Eric-Canas/USBMonitor";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ sifmelcara ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -17146,6 +17146,8 @@ self: super: with self; {
|
||||
|
||||
usb-devices = callPackage ../development/python-modules/usb-devices { };
|
||||
|
||||
usb-monitor = callPackage ../development/python-modules/usb-monitor { };
|
||||
|
||||
usbrelay-py = callPackage ../os-specific/linux/usbrelay/python.nix { };
|
||||
|
||||
usbtmc = callPackage ../development/python-modules/usbtmc { };
|
||||
|
||||
Reference in New Issue
Block a user