python3Packages.pyftdi: 0.51.2 -> 0.52.0
This commit is contained in:
parent
db9a28338f
commit
17a354b966
|
@ -1,19 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pyusb, pyserial }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pythonOlder
|
||||
, pyusb
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyftdi";
|
||||
version = "0.51.2";
|
||||
version = "0.52.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eblot";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "14mkwk44bgm6s4kqagz7nm6p6gsygmksl2628jaqh7ppblxca9as";
|
||||
sha256 = "0nm4z7v9qcb9mxqbl21jgzica4faldnpy5qmbkrc6scnx55pxfm9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyusb pyserial ];
|
||||
|
||||
# tests requires access to the serial port
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyftdi" ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue