anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / adafruit-platformdetect / default.nix
blobf457e46b88d877d9dc021ac89b44eb9fc029ce31
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools-scm,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "adafruit-platformdetect";
11   version = "3.75.0";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     pname = "adafruit_platformdetect";
18     inherit version;
19     hash = "sha256-5Awvnzw0tgZhRXVshTOuzerdORJ+5QCH3PDB7pbjCB0=";
20   };
22   build-system = [ setuptools-scm ];
24   # Project has not published tests yet
25   doCheck = false;
27   pythonImportsCheck = [ "adafruit_platformdetect" ];
29   meta = with lib; {
30     description = "Platform detection for use by Adafruit libraries";
31     homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
32     changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${version}";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };