diff options
author | Michal Rus <m@michalrus.com> | 2017-09-24 12:26:55 +0200 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-09-24 11:26:55 +0100 |
commit | 0e71e03583b10182cbd926c8b60acbbff4e4753d (patch) | |
tree | a3b61c0acc3f6681790b2d4ba1e079c8494a7bba /pkgs/applications/misc/xpad/default.nix | |
parent | 799d28480bccf6ddd4e94ea3fe031aadda6ad087 (diff) |
xpad: init at 5.0.0 (#29720)
* xpad: init at 5.0.0 * xpad: wrapGAppsHook is required
Diffstat (limited to 'pkgs/applications/misc/xpad/default.nix')
-rw-r--r-- | pkgs/applications/misc/xpad/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/misc/xpad/default.nix b/pkgs/applications/misc/xpad/default.nix new file mode 100644 index 0000000000000..01df5d32ab1a8 --- /dev/null +++ b/pkgs/applications/misc/xpad/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl +, autoreconfHook, pkgconfig, wrapGAppsHook +, glib, intltool, gtk3, gtksourceview }: + +stdenv.mkDerivation rec { + name = "xpad-${version}"; + version = "5.0.0"; + + src = fetchurl { + url = "https://launchpad.net/xpad/trunk/${version}/+download/xpad-${version}.tar.bz2"; + sha256 = "02yikxg6z9bwla09ka001ppjlpbv5kbza3za9asazm5aiz376mkb"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig wrapGAppsHook ]; + + buildInputs = [ glib intltool gtk3 gtksourceview ]; + + autoreconfPhase = '' + ./autogen.sh + ''; + + meta = with stdenv.lib; { + description = "A sticky note application for jotting down things to remember"; + homepage = https://launchpad.net/xpad; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ michalrus ]; + }; +} |