Merge pull request #303468 from fabaff/pyftdi-bump

python312Packages.pyftdi: 0.55.0 -> 0.55.4
This commit is contained in:
Fabian Affolter 2024-04-12 08:54:01 +02:00 committed by GitHub
commit 5f7901130b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,26 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pythonOlder
, pyusb
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
pythonOlder,
pyusb,
setuptools,
}:
buildPythonPackage rec {
pname = "pyftdi";
version = "0.55.0";
format = "setuptools";
version = "0.55.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "eblot";
repo = pname;
rev = "v${version}";
hash = "sha256-EEMHY5EKftci72huF5UmJyh2wJAc8uNh/QhGSSAVXIU=";
repo = "pyftdi";
rev = "refs/tags/v${version}";
hash = "sha256-InJJnbAPYlV071EkEWECJC79HLZ6SWo2VP7PqMgOGow=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
pyserial
pyusb
];
@ -28,9 +32,7 @@ buildPythonPackage rec {
# Tests require access to the serial port
doCheck = false;
pythonImportsCheck = [
"pyftdi"
];
pythonImportsCheck = [ "pyftdi" ];
meta = with lib; {
description = "User-space driver for modern FTDI devices";