8 buildPythonPackage rec {
9 pname = "adafruit-platformdetect";
13 disabled = pythonOlder "3.7";
16 pname = "Adafruit-PlatformDetect";
18 hash = "sha256-P+f7eBqD0/KIEry/807dQQCvtokB2cYu4i0H6CTYIWg=";
21 SETUPTOOLS_SCM_PRETEND_VERSION = version;
27 # Project has not published tests yet
30 pythonImportsCheck = [
31 "adafruit_platformdetect"
35 description = "Platform detection for use by Adafruit libraries";
36 homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
37 changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${version}";
38 license = with licenses; [ mit ];
39 maintainers = with maintainers; [ fab ];