8 buildPythonPackage rec {
13 inherit pname version;
14 sha256 = "bb0ec74df292ef884aa37bf1e98fb9df4d338718e1559eebda363317a792123e";
17 propagatedBuildInputs = [
23 substituteInPlace pylibftdi/driver.py \
24 --replace "self._load_library('libusb')" "cdll.LoadLibrary('${libusb1.out}/lib/libusb-1.0.so')" \
25 --replace "self._load_library('libftdi')" "cdll.LoadLibrary('${libftdi1.out}/lib/libftdi1.so')"
28 pythonImportsCheck = [ "pylibftdi" ];
31 homepage = "https://bitbucket.org/codedstructure/pylibftdi/src/default/";
32 description = "Minimal pythonic wrapper to Intra2net's libftdi driver for FTDI's USB devices";
33 license = licenses.mit;
34 maintainers = with maintainers; [ matthuszagh ];