2017-09-02 16:37:07 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, vala, glib, gjs, mutter
|
|
|
|
, pango, gtk3, gnome3, dbus, clutter, appstream-glib, wrapGAppsHook, systemd, gobjectIntrospection }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-28 15:26:36 +01:00
|
|
|
version = "3.28.1";
|
2016-09-18 20:35:23 +01:00
|
|
|
name = "gpaste-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz";
|
2018-03-28 15:26:36 +01:00
|
|
|
sha256 = "19rdi2syshrk32hqnjh63fm0wargw546j5wlsnsg1axml0x1xww9";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2017-09-02 16:37:07 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig vala wrapGAppsHook ];
|
2017-09-03 16:26:51 +01:00
|
|
|
buildInputs = [ glib gjs mutter gnome3.adwaita-icon-theme
|
2018-02-25 02:23:58 +00:00
|
|
|
gtk3 gnome3.gnome-control-center dbus
|
2017-09-02 16:37:07 +01:00
|
|
|
clutter pango appstream-glib systemd gobjectIntrospection ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-12-03 22:00:50 +00:00
|
|
|
configureFlags = [ "--with-controlcenterdir=$(out)/share/gnome-control-center/keybindings"
|
2016-09-18 20:35:23 +01: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;
|
|
|
|
};
|
|
|
|
}
|