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 {
|
2017-09-19 03:02:37 +01:00
|
|
|
version = "3.26.0";
|
2016-09-18 20:35:23 +01:00
|
|
|
name = "gpaste-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz";
|
2017-09-19 03:02:37 +01:00
|
|
|
sha256 = "0xlcbm9qnw61h6xwa1c0lz5mp1ca3vjjn5wpk0ahhhl6k94mzjs7";
|
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
|
2016-09-18 20:35:23 +01: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
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|