Loading pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -7,11 +7,12 @@ , pyric , pytestCheckHook , pythonOlder , usb-devices }: buildPythonPackage rec { pname = "bluetooth-auto-recovery"; version = "0.4.0"; version = "0.5.1"; format = "pyproject"; disabled = pythonOlder "3.9"; Loading @@ -20,7 +21,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-juGrrUqPgg1bJsMZP0iitp0NW/XrCxNq/+/fx5QNkQ4="; hash = "sha256-LvLav3OCud1EZe3JXvjbuuKU9xtd6ywrx6pZLLP0N/A="; }; nativeBuildInputs = [ Loading @@ -31,6 +32,7 @@ buildPythonPackage rec { async-timeout btsocket pyric usb-devices ]; checkInputs = [ Loading pkgs/development/python-modules/usb-devices/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "usb-devices"; version = "0.4.1"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-9w7YCAEpdptQC0GCnJCEyhZgcHMDIw0alj7q4Y82hmA="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=usb_devices --cov-report=term-missing:skip-covered" "" ''; nativeBuildInputs = [ poetry-core ]; checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "usb_devices" ]; meta = with lib; { description = "Library for for mapping, describing, and resetting USB devices"; homepage = "https://github.com/Bluetooth-Devices/usb-devices"; changelog = "https://github.com/Bluetooth-Devices/usb-devices/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11653,6 +11653,8 @@ self: super: with self; { urwid-readline = callPackage ../development/python-modules/urwid-readline { }; usb-devices = callPackage ../development/python-modules/usb-devices { }; usbrelay-py = callPackage ../os-specific/linux/usbrelay/python.nix { }; usbtmc = callPackage ../development/python-modules/usbtmc { }; Loading Loading
pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -7,11 +7,12 @@ , pyric , pytestCheckHook , pythonOlder , usb-devices }: buildPythonPackage rec { pname = "bluetooth-auto-recovery"; version = "0.4.0"; version = "0.5.1"; format = "pyproject"; disabled = pythonOlder "3.9"; Loading @@ -20,7 +21,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-juGrrUqPgg1bJsMZP0iitp0NW/XrCxNq/+/fx5QNkQ4="; hash = "sha256-LvLav3OCud1EZe3JXvjbuuKU9xtd6ywrx6pZLLP0N/A="; }; nativeBuildInputs = [ Loading @@ -31,6 +32,7 @@ buildPythonPackage rec { async-timeout btsocket pyric usb-devices ]; checkInputs = [ Loading
pkgs/development/python-modules/usb-devices/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "usb-devices"; version = "0.4.1"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-9w7YCAEpdptQC0GCnJCEyhZgcHMDIw0alj7q4Y82hmA="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=usb_devices --cov-report=term-missing:skip-covered" "" ''; nativeBuildInputs = [ poetry-core ]; checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "usb_devices" ]; meta = with lib; { description = "Library for for mapping, describing, and resetting USB devices"; homepage = "https://github.com/Bluetooth-Devices/usb-devices"; changelog = "https://github.com/Bluetooth-Devices/usb-devices/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11653,6 +11653,8 @@ self: super: with self; { urwid-readline = callPackage ../development/python-modules/urwid-readline { }; usb-devices = callPackage ../development/python-modules/usb-devices { }; usbrelay-py = callPackage ../os-specific/linux/usbrelay/python.nix { }; usbtmc = callPackage ../development/python-modules/usbtmc { }; Loading