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-09-19 04:02:37 +02:00
|
|
|
version = "3.26.0";
|
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-09-19 04:02:37 +02:00
|
|
|
sha256 = "0xlcbm9qnw61h6xwa1c0lz5mp1ca3vjjn5wpk0ahhhl6k94mzjs7";
|
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
|
|
|
|
2017-12-03 23:00:50 +01:00
|
|
|
configureFlags = [ "--with-controlcenterdir=$(out)/share/gnome-control-center/keybindings"
|
2016-09-18 21:35:23 +02:00
|
|
|
"--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;
|
|
|
|
};
|
|
|
|
}
|