Merge pull request #86495 from kimat/kimat-espanso-0.5.5
espanso: init at 0.6.3
This commit is contained in:
commit
ceb5d5a0ef
56
pkgs/applications/office/espanso/default.nix
Normal file
56
pkgs/applications/office/espanso/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkgconfig
|
||||
, extra-cmake-modules
|
||||
, libX11
|
||||
, libXi
|
||||
, libXtst
|
||||
, libnotify
|
||||
, openssl
|
||||
, xclip
|
||||
, xdotool
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "espanso";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "federico-terzi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1x5p7hniapggqd18rx26mjvdf33z7rm7zz5vsqm2siv3mcl19033";
|
||||
};
|
||||
|
||||
cargoSha256 = "0liwwdncymjql5dw7rwhhimcr7qdbyvfgmsd0bawvi0ym7m1v408";
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
pkgconfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXtst
|
||||
libXi
|
||||
libnotify
|
||||
openssl
|
||||
xdotool
|
||||
];
|
||||
|
||||
# Some tests require networking
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cross-platform Text Expander written in Rust";
|
||||
homepage = "https://espanso.org";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ kimat ];
|
||||
platforms = platforms.all;
|
||||
|
||||
longDescription = ''
|
||||
Espanso detects when you type a keyword and replaces it while you're typing.
|
||||
'';
|
||||
};
|
||||
}
|
@ -1794,6 +1794,8 @@ in
|
||||
|
||||
eschalot = callPackage ../tools/security/eschalot { };
|
||||
|
||||
espanso = callPackage ../applications/office/espanso { };
|
||||
|
||||
esphome = callPackage ../tools/misc/esphome { };
|
||||
|
||||
esptool = callPackage ../tools/misc/esptool { };
|
||||
|
Loading…
Reference in New Issue
Block a user