Skip to content

Commit

Permalink
Merge pull request #127797 from dotlambda/scli-0.6.3
Browse files Browse the repository at this point in the history
scli: 0.6.1 -> 0.6.3
  • Loading branch information
SuperSandro2000 committed Jun 23, 2021
2 parents 439ea54 + 7ce9209 commit e35ddac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
26 changes: 20 additions & 6 deletions pkgs/applications/misc/scli/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand All @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e35ddac

Please sign in to comment.