blob: 1e62e9b3f988e7c0ffdb5fb8e0ef8053c01f13a4 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "spidev";
version = "3.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-FNvDdZSkqu+FQDq2F5hdPD70ZNYrybdp71UttTcBEVs=";
};
# package does not include tests
doCheck = false;
pythonImportsCheck = [ "spidev" ];
meta = with lib; {
homepage = "https://github.com/doceme/py-spidev";
description = "Python bindings for Linux SPI access through spidev";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
platforms = platforms.linux;
};
}
|