1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "pencompy";
10 version = "0.0.4";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-PjALTsk0Msv3g8M6k0v6ftzDAuFKyIPSpfvT8S3YL48=";
18 };
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "pencompy" ];
24
25 meta = with lib; {
26 description = "Library for interacting with Pencom relay boards";
27 homepage = "https://github.com/dubnom/pencompy";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ fab ];
30 };
31}