diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-12-12 18:29:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 18:29:05 -0500 |
commit | cf5c943f45a377b0cbe5ad237e8de77de93d5fc8 (patch) | |
tree | ae78e747f3dfd8a4a38954e866c5830d4ee624b8 /pkgs | |
parent | feb775244c899f0b404b0a42ab1d8d7664fc9499 (diff) | |
parent | 374d587e73f683134f589e3df86bd3886dd2239c (diff) | |
download | nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.tar nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.tar.gz nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.tar.bz2 nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.tar.lz nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.tar.xz nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.tar.zst nixlib-cf5c943f45a377b0cbe5ad237e8de77de93d5fc8.zip |
Merge pull request #75472 from ianmjones/snippetpixie
snippetpixie: init at 1.2.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/text/snippetpixie/default.nix | 83 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 85 insertions, 0 deletions
diff --git a/pkgs/tools/text/snippetpixie/default.nix b/pkgs/tools/text/snippetpixie/default.nix new file mode 100644 index 000000000000..276fb6392053 --- /dev/null +++ b/pkgs/tools/text/snippetpixie/default.nix @@ -0,0 +1,83 @@ +{ stdenv +, fetchFromGitHub +, meson +, ninja +, vala +, pkgconfig +, wrapGAppsHook +, appstream +, desktop-file-utils +, python3 +, libgee +, glib +, gtk3 +, sqlite +, at-spi2-atk +, at-spi2-core +, dbus +, ibus +, json-glib +, pantheon +}: + +stdenv.mkDerivation rec { + pname = "snippetpixie"; + version = "1.2.2"; + + src = fetchFromGitHub { + owner = "bytepixie"; + repo = pname; + rev = version; + sha256 = "096xj7n1ypr8ss8mbwd1hyypvmzw5lc0hjlj2d1x8hbjljldfd13"; + }; + + nativeBuildInputs = [ + meson + ninja + vala + pkgconfig + wrapGAppsHook + appstream + desktop-file-utils + python3 + ]; + + buildInputs = [ + libgee + glib + gtk3 + sqlite + at-spi2-atk + at-spi2-core + dbus + ibus + json-glib + pantheon.granite + pantheon.elementary-gtk-theme + pantheon.elementary-icon-theme + ]; + + doCheck = true; + + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + + meta = with stdenv.lib; { + description = "Your little expandable text snippet helper"; + longDescription = '' + Your little expandable text snippet helper. + + Save your often used text snippets and then expand them whenever you type their abbreviation. + + For example:- "spr`" expands to "Snippet Pixie rules!" + ''; + homepage = https://www.snippetpixie.com; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ + ianmjones + ] ++ pantheon.maintainers; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6adc8f3ba69a..f6b16b1ef32f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2015,6 +2015,8 @@ in snipes = callPackage ../games/snipes { }; + snippetpixie = callPackage ../tools/text/snippetpixie { }; + socklog = callPackage ../tools/system/socklog { }; staccato = callPackage ../tools/text/staccato { }; |