Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 29 lines 714 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5}: 6 7buildPythonPackage rec { 8 pname = "adafruit-platformdetect"; 9 version = "3.13.1"; 10 11 src = fetchPypi { 12 pname = "Adafruit-PlatformDetect"; 13 inherit version; 14 sha256 = "sha256-SUK2EpOHCFWm4zV+yRtzz81B0GMcwRsVnTOh2msSsSk="; 15 }; 16 17 nativeBuildInputs = [ setuptools-scm ]; 18 19 # Project has not published tests yet 20 doCheck = false; 21 pythonImportsCheck = [ "adafruit_platformdetect" ]; 22 23 meta = with lib; { 24 description = "Platform detection for use by Adafruit libraries"; 25 homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect"; 26 license = with licenses; [ mit ]; 27 maintainers = with maintainers; [ fab ]; 28 }; 29}