Merge pull request #61256 from astro/pyftdi

python3Packages.pyftdi: init at 0.29.4
This commit is contained in:
Mario Rodas 2019-05-14 20:46:41 -05:00 committed by GitHub
commit fa1c611e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pyusb
, pyserial
}:
buildPythonPackage rec {
pname = "pyftdi";
version = "0.29.4";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0jy0xbqvmhy0nq9v86759d96raa8p52yq8ik3ji5kjlx7cizq67v";
};
propagatedBuildInputs = [ pyusb pyserial ];
meta = {
description = "User-space driver for modern FTDI devices";
homepage = "http://github.com/eblot/pyftdi";
license = lib.licenses.lgpl2;
};
}

View File

@ -679,6 +679,8 @@ in {
pyfttt = callPackage ../development/python-modules/pyfttt { };
pyftdi = callPackage ../development/python-modules/pyftdi { };
pygame = callPackage ../development/python-modules/pygame { };
pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { };