scli: 0.6.1 -> 0.6.3

This commit is contained in:
Robert Schütz 2021-06-22 14:36:25 +02:00
parent 38d369643e
commit 7ce92099d6
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

@ -26567,7 +26567,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;