2017-09-02 17:37:07 +02:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, vala, glib, gjs, mutter
|
|
|
|
, pango, gtk3, gnome3, dbus, clutter, appstream-glib, wrapGAppsHook, systemd, gobjectIntrospection }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-06-25 18:59:23 +02:00
|
|
|
version = "3.24.2";
|
2016-09-18 21:35:23 +02:00
|
|
|
name = "gpaste-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz";
|
2017-06-25 18:59:23 +02:00
|
|
|
sha256 = "16142jfpkz8qfs7zp9k3c5l9pnvxbr5yygj8jdpx6by1142s6340";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
2017-09-02 17:37:07 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig vala wrapGAppsHook ];
|
2017-09-03 17:26:51 +02:00
|
|
|
buildInputs = [ glib gjs mutter gnome3.adwaita-icon-theme
|
2016-09-18 21:35:23 +02:00
|
|
|
gtk3 gnome3.gnome_control_center dbus
|
2017-09-02 17:37:07 +02:00
|
|
|
clutter pango appstream-glib systemd gobjectIntrospection ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--with-controlcenterdir=$(out)/gnome-control-center/keybindings"
|
|
|
|
"--with-dbusservicesdir=$(out)/share/dbus-1/services"
|
|
|
|
"--with-systemduserunitdir=$(out)/etc/systemd/user" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|