Merge pull request #127797 from dotlambda/scli-0.6.3

scli: 0.6.1 -> 0.6.3
This commit is contained in:
Sandro 2021-06-23 13:24:28 +02:00 committed by GitHub
commit e35ddac464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 7 deletions

View File

@ -1,18 +1,28 @@
{ lib, buildPythonApplication, fetchFromGitHub, signal-cli, urwid
, urwid-readline, dbus }:
{ lib
, python3
, fetchFromGitHub
, dbus
, signal-cli
, xclip
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "scli";
version = "0.6.1";
version = "0.6.3";
src = fetchFromGitHub {
owner = "isamert";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hWzpqj/sxPq/doxdmytnj5rh2qKQE71WMB0ugomWhHg";
sha256 = "sha256-QGVBJKTBo2RckGwW1deM2toRPT73PYDLvr7YVepkQvg=";
};
propagatedBuildInputs = [ signal-cli urwid urwid-readline dbus ];
propagatedBuildInputs = with python3.pkgs; [
pyqrcode
urwid
urwid-readline
];
dontBuild = true;
checkPhase = ''
@ -29,6 +39,10 @@ buildPythonApplication rec {
install -m755 -D scli $out/bin/scli
'';
makeWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ dbus signal-cli xclip ])
];
meta = with lib; {
description = "Simple terminal user interface for Signal";
homepage = "https://github.com/isamert/scli";

View File

@ -26602,7 +26602,7 @@ in
scite = callPackage ../applications/editors/scite { };
scli = with python3Packages; callPackage ../applications/misc/scli { };
scli = callPackage ../applications/misc/scli { };
scribus = callPackage ../applications/office/scribus {
inherit (gnome2) libart_lgpl;