1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 requests,
7 six,
8}:
9
10buildPythonPackage rec {
11 pname = "pysignalclirestapi";
12 version = "0.3.24";
13
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "bbernhard";
18 repo = "pysignalclirestapi";
19 tag = version;
20 hash = "sha256-LGP/Oo4FCvOq3LuUZRYFkK2JV1kEu3MeCDgnYo+91o4=";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 propagatedBuildInputs = [
26 requests
27 six
28 ];
29
30 # upstream has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "pysignalclirestapi" ];
34
35 meta = with lib; {
36 changelog = "https://github.com/bbernhard/pysignalclirestapi/releases/tag/${version}";
37 description = "Small python library for the Signal Cli REST API";
38 homepage = "https://github.com/bbernhard/pysignalclirestapi";
39 license = licenses.mit;
40 maintainers = with maintainers; [ dotlambda ];
41 };
42}