nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 659 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyusb, 6}: 7 8buildPythonPackage rec { 9 pname = "temperusb"; 10 version = "1.6.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-PwKHT1zzVn+nmxO/R+aK+029WaaHBo7FyVV4eQtHhbM="; 16 }; 17 18 propagatedBuildInputs = [ pyusb ]; 19 20 # Module has no tests which are shipped and source is not tagged 21 doCheck = false; 22 23 pythonImportsCheck = [ "temperusb" ]; 24 25 meta = { 26 description = "Library to read TEMPer USB HID devices"; 27 homepage = "https://github.com/padelt/temper-python"; 28 license = lib.licenses.gpl3Only; 29 maintainers = with lib.maintainers; [ fab ]; 30 }; 31}