pythonPackages.pyftdi: v0.44.2 -> 0.49.0
This commit is contained in:
parent
b310f564c2
commit
b5855b9847
1 changed files with 10 additions and 12 deletions
|
@ -1,26 +1,24 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pyusb
|
||||
, pyserial
|
||||
}:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pyusb, pyserial }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyftdi";
|
||||
version = "0.44.2";
|
||||
version = "0.49.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18k9wnpjxg71v4jm0pwr2bmksq7sckr6ylh1slf0xgpg89b27bxq";
|
||||
src = fetchFromGitHub {
|
||||
owner = "eblot";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "063kwvgw7g4nn09pyqwqy72vnhzw0aajg23bi32vr0k49g8fx27s";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyusb pyserial ];
|
||||
|
||||
pythonImportsCheck = [ "pyftdi" ];
|
||||
|
||||
meta = {
|
||||
description = "User-space driver for modern FTDI devices";
|
||||
homepage = "https://github.com/eblot/pyftdi";
|
||||
license = lib.licenses.lgpl2;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue