nixpkgs/pkgs/development/python-modules/pyftdi/default.nix

27 lines
509 B
Nix
Raw Normal View History

2019-05-10 23:00:09 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pyusb
, pyserial
}:
buildPythonPackage rec {
pname = "pyftdi";
version = "0.42.2";
2019-05-10 23:00:09 +01:00
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1bpb2rq7bc3p4g9qrfp4a7qcic79cvv1wh17j231bnpmy48njhvj";
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;
};
}