nixpkgs/pkgs/applications/misc/clipit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1,001 B
Nix
Raw Normal View History

2021-03-01 10:47:02 +01:00
{ fetchFromGitHub, lib, stdenv
, autoreconfHook, intltool, pkg-config
2020-05-24 17:30:25 +02:00
, gtk3, libayatana-appindicator, xdotool, which, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "clipit";
2020-05-01 00:20:52 +02:00
version = "1.4.5";
2020-04-02 16:36:35 +02:00
src = fetchFromGitHub {
2020-05-01 00:20:52 +02:00
owner = "CristianHenzel";
2020-04-02 16:36:35 +02:00
repo = "ClipIt";
2020-05-01 00:20:52 +02:00
rev = "45e2ea386d04dbfc411ea370299502450d589d0c";
sha256 = "0byqz9hanwmdc7i55xszdby2iqrk93lws7hmjda2kv17g34apwl7";
};
2020-04-02 16:36:35 +02:00
preConfigure = ''
intltoolize --copy --force --automake
'';
nativeBuildInputs = [ pkg-config wrapGAppsHook autoreconfHook intltool ];
2020-05-24 17:30:25 +02:00
configureFlags = [ "--with-gtk3" "--enable-appindicator=yes" ];
buildInputs = [ gtk3 libayatana-appindicator ];
2020-04-02 16:36:35 +02:00
gappsWrapperArgs = [
2021-01-15 06:42:41 +01:00
"--prefix" "PATH" ":" "${lib.makeBinPath [ xdotool which ]}"
2020-04-02 16:36:35 +02:00
];
meta = with lib; {
description = "Lightweight GTK Clipboard Manager";
2020-04-02 16:36:35 +02:00
inherit (src.meta) homepage;
license = licenses.gpl3;
platforms = platforms.linux;
2020-05-01 00:20:52 +02:00
maintainers = with maintainers; [ kamilchm ];
};
}