diff --git a/pkgs/development/python-modules/pylibftdi/default.nix b/pkgs/development/python-modules/pylibftdi/default.nix index 6e45e9ca538f..d4dd2d6781be 100644 --- a/pkgs/development/python-modules/pylibftdi/default.nix +++ b/pkgs/development/python-modules/pylibftdi/default.nix @@ -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 ]; };