Merge pull request #161692 from dotlambda/pysignalclirestapi-init

This commit is contained in:
Martin Weinelt 2022-02-24 18:43:40 +01:00 committed by GitHub
commit 09df242ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, future
}:
buildPythonPackage rec {
pname = "pysignalclirestapi";
version = "0.3.18";
format = "setuptools";
src = fetchFromGitHub {
owner = "bbernhard";
repo = "pysignalclirestapi";
rev = version;
hash = "sha256-BF4BmnQVfrj7f0N+TN/d7GNuDTbDQfwsCkUn2pVmMWo=";
};
propagatedBuildInputs = [
requests
future
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "pysignalclirestapi" ];
meta = with lib; {
description = "Small python library for the Signal Cli REST API";
homepage = "https://github.com/bbernhard/pysignalclirestapi";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -780,7 +780,7 @@
"sia" = ps: with ps; [ pysiaalarm ];
"sigfox" = ps: with ps; [ ];
"sighthound" = ps: with ps; [ pillow simplehound ];
"signal_messenger" = ps: with ps; [ ]; # missing inputs: pysignalclirestapi
"signal_messenger" = ps: with ps; [ pysignalclirestapi ];
"simplepush" = ps: with ps; [ ]; # missing inputs: simplepush
"simplisafe" = ps: with ps; [ simplisafe-python ];
"simulated" = ps: with ps; [ ];
@ -1476,6 +1476,7 @@
"sia"
"sigfox"
"sighthound"
"signal_messenger"
"simplisafe"
"simulated"
"siren"

View File

@ -7607,6 +7607,8 @@ in {
pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
pysignalclirestapi = callPackage ../development/python-modules/pysignalclirestapi { };
pysigset = callPackage ../development/python-modules/pysigset { };
pysimplegui = callPackage ../development/python-modules/pysimplegui { };