Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / adafruit-platformdetect / default.nix
blobbee4d68d5d738e0eaeaf685c923fd400f036a659
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "adafruit-platformdetect";
10   version = "3.62.0";
11   pyproject = true;
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     pname = "Adafruit-PlatformDetect";
17     inherit version;
18     hash = "sha256-L2CbqWqyOo4mq+KsO8FYAyHClRKFXMLWWtfYEg0SD34=";
19   };
21   nativeBuildInputs = [
22     setuptools-scm
23   ];
25   # Project has not published tests yet
26   doCheck = false;
28   pythonImportsCheck = [
29     "adafruit_platformdetect"
30   ];
32   meta = with lib; {
33     description = "Platform detection for use by Adafruit libraries";
34     homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
35     changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${version}";
36     license = with licenses; [ mit ];
37     maintainers = with maintainers; [ fab ];
38   };