1{ lib
2, buildPythonPackage
3, fetchPypi
4, pycryptodome
5, pygithub
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "brelpy";
11 version = "0.0.3";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-MYWSKYd7emHZfY+W/UweQtTg62GSUMybpecL9BR8dhg=";
19 };
20
21 propagatedBuildInputs = [
22 pycryptodome
23 ];
24
25 # Source not tagged and PyPI releases don't contain tests
26 doCheck = false;
27
28 pythonImportsCheck = [
29 "brelpy"
30 ];
31
32 meta = with lib; {
33 description = "Python to communicate with the Brel hubs";
34 homepage = "https://gitlab.com/rogiervandergeer/brelpy";
35 license = licenses.agpl3Only;
36 maintainers = with maintainers; [ fab ];
37 };
38}