{ lib , buildPythonPackage , fetchPypi , setuptools-scm }: buildPythonPackage rec { pname = "adafruit-platformdetect"; version = "3.18.0"; format = "setuptools"; src = fetchPypi { pname = "Adafruit-PlatformDetect"; inherit version; sha256 = "593f3719580b31b3dffab0817414a3aa548ed609659ad216ceb8cf31cc51ec9b"; }; 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 ]; }; }