blob: 921c844e27d8df7a9a3218bf191bb54c8c6a4e6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "adafruit-platformdetect";
version = "3.22.1";
format = "setuptools";
src = fetchPypi {
pname = "Adafruit-PlatformDetect";
inherit version;
sha256 = "sha256-fOBs0aPekIvpwbrYxzh1wz7EKGko0Je1f/N5H0DIguw=";
};
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 ];
};
}
|