{ lib , buildPythonPackage , fetchPypi , setuptools-scm }: buildPythonPackage rec { pname = "Adafruit-PlatformDetect"; version = "2.27.1"; src = fetchPypi { inherit pname version; sha256 = "0rnmy74rjjcyni5sr8h1djffpj7wngn2wqckl5vknp2smaihp34l"; }; 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 ]; }; }