python311Packages.pylibftdi: 0.20.0 -> 0.21.0

Changelog: https://github.com/codedstructure/pylibftdi/blob/0.21.00/CHANGES.txt
This commit is contained in:
Fabian Affolter
2023-08-14 08:42:46 +02:00
parent 475a4bd899
commit 4f368e05c1
@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "pylibftdi";
version = "0.20.0";
version = "0.21.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "f4a87fc4af2c9c7d42badd4192ca9b529f32c9d96fdc8daea7e29c509226df5f";
hash = "sha256-634vUFKFJUf0xsRgIqFmX510U0OWORcereVv3ICliDI=";
};
propagatedBuildInputs = [
@@ -24,7 +24,7 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace pylibftdi/driver.py \
substituteInPlace src/pylibftdi/driver.py \
--replace "self._load_library('libusb')" "cdll.LoadLibrary('${libusb1.out}/lib/libusb-1.0.so')" \
--replace "self._load_library('libftdi')" "cdll.LoadLibrary('${libftdi1.out}/lib/libftdi1.so')"
'';
@@ -34,8 +34,9 @@ buildPythonPackage rec {
];
meta = with lib; {
homepage = "https://pylibftdi.readthedocs.io/";
description = "Wrapper to Intra2net's libftdi driver for FTDI's USB devices";
homepage = "https://pylibftdi.readthedocs.io/";
changelog = "https://github.com/codedstructure/pylibftdi/blob/${version}0/CHANGES.txt";
license = licenses.mit;
maintainers = with maintainers; [ matthuszagh ];
};