2020-04-02 15:36:35 +01:00
|
|
|
{ fetchFromGitHub, fetchpatch, stdenv
|
|
|
|
, autoreconfHook, intltool, pkgconfig
|
|
|
|
, gtk3, xdotool, which, wrapGAppsHook }:
|
2014-08-21 15:22:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "clipit";
|
2020-04-30 23:20:52 +01:00
|
|
|
version = "1.4.5";
|
2014-08-21 15:22:08 +01:00
|
|
|
|
2020-04-02 15:36:35 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-04-30 23:20:52 +01:00
|
|
|
owner = "CristianHenzel";
|
2020-04-02 15:36:35 +01:00
|
|
|
repo = "ClipIt";
|
2020-04-30 23:20:52 +01:00
|
|
|
rev = "45e2ea386d04dbfc411ea370299502450d589d0c";
|
|
|
|
sha256 = "0byqz9hanwmdc7i55xszdby2iqrk93lws7hmjda2kv17g34apwl7";
|
2014-08-21 15:22:08 +01:00
|
|
|
};
|
|
|
|
|
2020-04-02 15:36:35 +01:00
|
|
|
preConfigure = ''
|
|
|
|
intltoolize --copy --force --automake
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook autoreconfHook intltool ];
|
|
|
|
configureFlags = [ "--with-gtk3" ];
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
|
|
|
|
gappsWrapperArgs = [
|
|
|
|
"--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ xdotool which ]}"
|
|
|
|
];
|
2014-08-21 15:22:08 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "Lightweight GTK Clipboard Manager";
|
2020-04-02 15:36:35 +01:00
|
|
|
inherit (src.meta) homepage;
|
2014-08-21 15:22:08 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2020-04-30 23:20:52 +01:00
|
|
|
maintainers = with maintainers; [ kamilchm ];
|
2014-08-21 15:22:08 +01:00
|
|
|
};
|
|
|
|
}
|