python3Packages.adafruit-platformdetect: init at 2.27.1

This commit is contained in:
Fabian Affolter 2021-01-24 09:35:46 +01:00
parent ae0ea7ed20
commit d2f86643e3
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "Adafruit-PlatformDetect";
version = "2.27.1";
src = fetchPypi {
inherit pname version;
sha256 = "0rnmy74rjjcyni5sr8h1djffpj7wngn2wqckl5vknp2smaihp34l";
};
nativeBuildInputs = [ 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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -162,6 +162,8 @@ in {
actdiag = callPackage ../development/python-modules/actdiag { };
adafruit-platformdetect = callPackage ../development/python-modules/adafruit-platformdetect { };
adal = callPackage ../development/python-modules/adal { };
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };