nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 33 lines 858 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools-scm, 6}: 7 8buildPythonPackage (finalAttrs: { 9 pname = "adafruit-platformdetect"; 10 version = "3.88.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 pname = "adafruit_platformdetect"; 15 inherit (finalAttrs) version; 16 hash = "sha256-3CGI3bNIv9KgKpUzJjKUzA8XYr2fazsghmVH2YggzXE="; 17 }; 18 19 build-system = [ setuptools-scm ]; 20 21 # Project has not published tests yet 22 doCheck = false; 23 24 pythonImportsCheck = [ "adafruit_platformdetect" ]; 25 26 meta = { 27 description = "Platform detection for use by Adafruit libraries"; 28 homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect"; 29 changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${finalAttrs.version}"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ fab ]; 32 }; 33})