Skip to content

Commit

Permalink
Merge pull request #75472 from ianmjones/snippetpixie
Browse files Browse the repository at this point in the history
snippetpixie: init at 1.2.2
  • Loading branch information
worldofpeace authored Dec 12, 2019
2 parents feb7752 + 374d587 commit cf5c943
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2874,6 +2874,12 @@
githubId = 69209;
name = "Ian Duncan";
};
ianmjones = {
email = "[email protected]";
github = "ianmjones";
githubId = 4710;
name = "Ian M. Jones";
};
ianwookim = {
email = "[email protected]";
github = "wavewave";
Expand Down
83 changes: 83 additions & 0 deletions pkgs/tools/text/snippetpixie/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2015,6 +2015,8 @@ in

snipes = callPackage ../games/snipes { };

snippetpixie = callPackage ../tools/text/snippetpixie { };

socklog = callPackage ../tools/system/socklog { };

staccato = callPackage ../tools/text/staccato { };
Expand Down

0 comments on commit cf5c943

Please sign in to comment.