nixpkgs/pkgs/desktops/gnome-3/3.22/misc/gpaste/default.nix
Alexander Ried 68eaeab4bc gnome3_22: init at 3.22
copied from 3.20
removed whitespaces at the end of lines
updated to 3.22 versions
removed webkitgtk24 where possible

gnome3_22.evolution: nspr include dir broken / not needed anymore
gnome3_22.gfbgraph: 0.2.2 -> 0.2.3
gnome3_22.gjs: 1.44.0 -> 1.46.0
gnome3_22.gnome-autoar: init at 0.1.1
gnome3_22.gnome-core.folks: 0.11.0 -> 0.11.2
gnome3_22.gnome-user-share 3.18.1 -> 3.18.3
gnome3_22.gnome-weather: 3.20.1 -> 3.20.2
gnome3_22.grilo: 0.3.1 -> 0.3.2
gnome3_22.grilo-plugins: 0.3.2 -> 0.3.3
gnome3_22.libgepub: init at 0.4
gnome3_22.libgweather: 3.20.1 -> 3.20.3
gnome3_22.rest: 0.7.93 -> 0.8.0
gnome3_22.totem: x86 patch is upstream
gnome3_22.tracker: 1.9.0 -> 1.10.0
2016-10-15 20:32:11 +02:00

45 lines
1.5 KiB
Nix

{ stdenv, fetchurl, intltool, autoreconfHook, pkgconfig, vala_0_32, glib
, pango, gtk3, gnome3, dbus, clutter, appstream-glib, makeWrapper, systemd, gobjectIntrospection }:
stdenv.mkDerivation rec {
version = "3.20.4";
name = "gpaste-${version}";
src = fetchurl {
url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz";
sha256 = "08h1igdgapz7px12r7mrfcxmz68g9ijg73w69j75spg0yc6f4xax";
};
buildInputs = [ intltool autoreconfHook pkgconfig vala_0_32 glib
gtk3 gnome3.gnome_control_center dbus
clutter pango appstream-glib makeWrapper systemd gobjectIntrospection ];
preConfigure = "intltoolize -f";
configureFlags = [ "--with-controlcenterdir=$(out)/gnome-control-center/keybindings"
"--with-dbusservicesdir=$(out)/share/dbus-1/services"
"--with-systemduserunitdir=$(out)/etc/systemd/user" ];
enableParallelBuilding = true;
preFixup =
let
libPath = stdenv.lib.makeLibraryPath
[ glib gtk3 clutter pango ];
in
''
for i in $out/libexec/gpaste/*; do
wrapProgram $i \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH"
done
'';
meta = with stdenv.lib; {
homepage = https://github.com/Keruspe/GPaste;
description = "Clipboard management system with GNOME3 integration";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}