2019-05-11 00:00:09 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pyusb
|
|
|
|
, pyserial
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyftdi";
|
2019-12-09 16:47:15 +01:00
|
|
|
version = "0.42.2";
|
2019-05-11 00:00:09 +02:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-09 16:47:15 +01:00
|
|
|
sha256 = "1bpb2rq7bc3p4g9qrfp4a7qcic79cvv1wh17j231bnpmy48njhvj";
|
2019-05-11 00:00:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyusb pyserial ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "User-space driver for modern FTDI devices";
|
2020-01-10 21:17:37 +01:00
|
|
|
homepage = "https://github.com/eblot/pyftdi";
|
2019-05-11 00:00:09 +02:00
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|