Merge pull request #192874 from fabaff/temperusb

This commit is contained in:
Martin Weinelt 2022-09-27 01:26:08 +02:00 committed by GitHub
commit 467f4a69cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pyusb
}:
buildPythonPackage rec {
pname = "temperusb";
version = "1.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-enYhqtJnORKhBoZkZPISLCt9Ec5SN6txD3z0SXuPrQo=";
};
propagatedBuildInputs = [
pyusb
];
# Module has no tests which are shipped and source is not tagged
doCheck = false;
pythonImportsCheck = [
"temperusb"
];
meta = with lib; {
description = "Library to read TEMPer USB HID devices";
homepage = "https://github.com/padelt/temper-python";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2876,7 +2876,8 @@
"telnet" = ps: with ps; [
];
"temper" = ps: with ps; [
]; # missing inputs: temperusb
temperusb
];
"template" = ps: with ps; [
];
"tensorflow" = ps: with ps; [

View File

@ -10790,6 +10790,8 @@ in {
temescal = callPackage ../development/python-modules/temescal { };
temperusb = callPackage ../development/python-modules/temperusb { };
tempest = callPackage ../development/python-modules/tempest { };
tempita = callPackage ../development/python-modules/tempita { };