blob: 6d1d979a29dfc9d5d8a78ff1c479b9a9a188085e (
plain)
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
|
{
lib,
buildPythonPackage,
fetchPypi,
rpi-gpio,
}:
buildPythonPackage rec {
pname = "pad4pi";
version = "1.1.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-+oVYlqF5PQAFz4EO1ap6pjmYTLg9xQy6UbQja4utt2Q=";
};
propagatedBuildInputs = [ rpi-gpio ];
# Checks depend on rpi-gpio which requires to be run on a Raspberry Pi,
# therefore it fails on other systems
doCheck = false;
meta = {
homepage = "https://github.com/brettmclean/pad4pi";
description = "Interrupt-based matrix keypad library for Raspberry Pi";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ onny ];
};
}
|