mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Merge pull request #192874 from fabaff/temperusb
This commit is contained in:
commit
467f4a69cf
37
pkgs/development/python-modules/temperusb/default.nix
Normal file
37
pkgs/development/python-modules/temperusb/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -2876,7 +2876,8 @@
|
||||
"telnet" = ps: with ps; [
|
||||
];
|
||||
"temper" = ps: with ps; [
|
||||
]; # missing inputs: temperusb
|
||||
temperusb
|
||||
];
|
||||
"template" = ps: with ps; [
|
||||
];
|
||||
"tensorflow" = ps: with ps; [
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user