2019-05-10 23:00:09 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pyusb
|
|
|
|
, pyserial
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyftdi";
|
2019-09-28 16:29:31 +01:00
|
|
|
version = "0.30.0";
|
2019-05-10 23:00:09 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-28 16:29:31 +01:00
|
|
|
sha256 = "0avmxz38bkl6hp3fn1jm31qahsdp76j454mfnpxwx5wlk35iss09";
|
2019-05-10 23:00:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyusb pyserial ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "User-space driver for modern FTDI devices";
|
|
|
|
homepage = "http://github.com/eblot/pyftdi";
|
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|