pythonPackages.pyftdi: v0.44.2 -> 0.49.0

This commit is contained in:
Cole Mickens 2020-03-28 10:17:30 +00:00
parent b310f564c2
commit b5855b9847

View File

@ -1,26 +1,24 @@
{ lib { lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pyusb, pyserial }:
, buildPythonPackage
, fetchPypi
, pythonOlder
, pyusb
, pyserial
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyftdi"; pname = "pyftdi";
version = "0.44.2"; version = "0.49.0";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "eblot";
sha256 = "18k9wnpjxg71v4jm0pwr2bmksq7sckr6ylh1slf0xgpg89b27bxq"; repo = pname;
rev = "v${version}";
sha256 = "063kwvgw7g4nn09pyqwqy72vnhzw0aajg23bi32vr0k49g8fx27s";
}; };
propagatedBuildInputs = [ pyusb pyserial ]; propagatedBuildInputs = [ pyusb pyserial ];
pythonImportsCheck = [ "pyftdi" ];
meta = { meta = {
description = "User-space driver for modern FTDI devices"; description = "User-space driver for modern FTDI devices";
homepage = "https://github.com/eblot/pyftdi"; homepage = "https://github.com/eblot/pyftdi";
license = lib.licenses.lgpl2; license = lib.licenses.bsd3;
}; };
} }