{ lib , buildPythonPackage , fetchPypi , setuptools-scm }: buildPythonPackage rec { pname = "Adafruit-PlatformDetect"; version = "2.28.0"; src = fetchPypi { inherit pname version; sha256 = "aa272605fd8a2ddcc6e5dd8151d628f76a9468c97ba7e4e315d6bc78b9bfb8f8"; }; nativeBuildInputs = [ setuptools-scm ]; # Project has not published tests yet doCheck = false; pythonImportsCheck = [ "adafruit_platformdetect" ]; meta = with lib; { description = "Platform detection for use by Adafruit libraries"; homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }