2019-05-11 00:00:09 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pyusb
|
|
|
|
, pyserial
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyftdi";
|
2019-10-16 11:43:12 +02:00
|
|
|
version = "0.30.3";
|
2019-05-11 00:00:09 +02:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 11:43:12 +02:00
|
|
|
sha256 = "ed55f0cb2d2f84b6e97be9583d582480ba9777cb0179aac0bb0ac480cd6760f5";
|
2019-05-11 00:00:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyusb pyserial ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "User-space driver for modern FTDI devices";
|
|
|
|
homepage = "http://github.com/eblot/pyftdi";
|
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|