From 0e71e03583b10182cbd926c8b60acbbff4e4753d Mon Sep 17 00:00:00 2001 From: Michal Rus Date: Sun, 24 Sep 2017 12:26:55 +0200 Subject: [PATCH] xpad: init at 5.0.0 (#29720) * xpad: init at 5.0.0 * xpad: wrapGAppsHook is required --- pkgs/applications/misc/xpad/default.nix | 29 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/applications/misc/xpad/default.nix diff --git a/pkgs/applications/misc/xpad/default.nix b/pkgs/applications/misc/xpad/default.nix new file mode 100644 index 000000000000..01df5d32ab1a --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f4940d14f064..a48f0a55f7c0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19335,6 +19335,10 @@ with pkgs; xosd = callPackage ../misc/xosd { }; + xpad = callPackage ../applications/misc/xpad { + inherit (gnome3) gtksourceview; + }; + xsane = callPackage ../applications/graphics/sane/xsane.nix { libpng = libpng12; };