mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-28 16:10:17 +02:00
Merge pull request #127797 from dotlambda/scli-0.6.3
scli: 0.6.1 -> 0.6.3
This commit is contained in:
commit
e35ddac464
|
@ -1,18 +1,28 @@
|
||||||
{ lib, buildPythonApplication, fetchFromGitHub, signal-cli, urwid
|
{ lib
|
||||||
, urwid-readline, dbus }:
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
, dbus
|
||||||
|
, signal-cli
|
||||||
|
, xclip
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "scli";
|
pname = "scli";
|
||||||
version = "0.6.1";
|
version = "0.6.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "isamert";
|
owner = "isamert";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
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;
|
dontBuild = true;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
@ -29,6 +39,10 @@ buildPythonApplication rec {
|
||||||
install -m755 -D scli $out/bin/scli
|
install -m755 -D scli $out/bin/scli
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
makeWrapperArgs = [
|
||||||
|
"--prefix" "PATH" ":" (lib.makeBinPath [ dbus signal-cli xclip ])
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple terminal user interface for Signal";
|
description = "Simple terminal user interface for Signal";
|
||||||
homepage = "https://github.com/isamert/scli";
|
homepage = "https://github.com/isamert/scli";
|
||||||
|
|
|
@ -26602,7 +26602,7 @@ in
|
||||||
|
|
||||||
scite = callPackage ../applications/editors/scite { };
|
scite = callPackage ../applications/editors/scite { };
|
||||||
|
|
||||||
scli = with python3Packages; callPackage ../applications/misc/scli { };
|
scli = callPackage ../applications/misc/scli { };
|
||||||
|
|
||||||
scribus = callPackage ../applications/office/scribus {
|
scribus = callPackage ../applications/office/scribus {
|
||||||
inherit (gnome2) libart_lgpl;
|
inherit (gnome2) libart_lgpl;
|
||||||
|
|
Loading…
Reference in a new issue