
Changelog: https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/3.81.0
34 lines
826 B
Nix
34 lines
826 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adafruit-platformdetect";
|
|
version = "3.81.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "adafruit_platformdetect";
|
|
inherit version;
|
|
hash = "sha256-SF/OhnHbgEQ5VPxHdnoEIoSu6rSNk+ISWEb+v30i8h8=";
|
|
};
|
|
|
|
build-system = [ 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";
|
|
changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|