python3Packages.pylibftdi: update meta

This commit is contained in:
Fabian Affolter 2022-01-25 08:57:37 +01:00 committed by Jonathan Ringer
parent fedc27d167
commit 4ceb1897d3

View File

@ -3,11 +3,15 @@
, fetchPypi
, libftdi1
, libusb1
, pythonOlder
}:
buildPythonPackage rec {
pname = "pylibftdi";
version = "0.20.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -25,11 +29,13 @@ buildPythonPackage rec {
--replace "self._load_library('libftdi')" "cdll.LoadLibrary('${libftdi1.out}/lib/libftdi1.so')"
'';
pythonImportsCheck = [ "pylibftdi" ];
pythonImportsCheck = [
"pylibftdi"
];
meta = with lib; {
homepage = "https://bitbucket.org/codedstructure/pylibftdi/src/default/";
description = "Minimal pythonic wrapper to Intra2net's libftdi driver for FTDI's USB devices";
homepage = "https://pylibftdi.readthedocs.io/";
description = "Wrapper to Intra2net's libftdi driver for FTDI's USB devices";
license = licenses.mit;
maintainers = with maintainers; [ matthuszagh ];
};