diff options
Diffstat (limited to 'pkgs/desktops/gnome-3/misc/gpaste/default.nix')
-rw-r--r-- | pkgs/desktops/gnome-3/misc/gpaste/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/misc/gpaste/default.nix b/pkgs/desktops/gnome-3/misc/gpaste/default.nix new file mode 100644 index 000000000000..a43f9206cdd6 --- /dev/null +++ b/pkgs/desktops/gnome-3/misc/gpaste/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, autoreconfHook, pkgconfig, vala, glib, gjs, mutter +, pango, gtk3, gnome3, dbus, clutter, appstream-glib, wrapGAppsHook, systemd, gobjectIntrospection }: + +stdenv.mkDerivation rec { + version = "3.24.2"; + name = "gpaste-${version}"; + + src = fetchurl { + url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz"; + sha256 = "16142jfpkz8qfs7zp9k3c5l9pnvxbr5yygj8jdpx6by1142s6340"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig vala wrapGAppsHook ]; + buildInputs = [ glib gjs mutter gnome3.adwaita-icon-theme + gtk3 gnome3.gnome_control_center dbus + clutter pango appstream-glib systemd gobjectIntrospection ]; + + 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; + }; +} |