nixpkgs/pkgs/desktops/gnome-3/misc/gpaste/default.nix

32 lines
1.2 KiB
Nix
Raw Normal View History

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 }:
stdenv.mkDerivation rec {
2018-03-28 15:26:36 +01:00
version = "3.28.1";
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";
};
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
gtk3 gnome3.gnome-control-center dbus
2017-09-02 16:37:07 +01:00
clutter pango appstream-glib systemd gobjectIntrospection ];
configureFlags = [ "--with-controlcenterdir=$(out)/share/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;
};
}