2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2018-01-30 04:29:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-shell-extension-clipboard-indicator";
|
2020-10-28 14:14:18 +00:00
|
|
|
version = "37";
|
2018-01-30 04:29:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tudmotu";
|
|
|
|
repo = "gnome-shell-extension-clipboard-indicator";
|
|
|
|
rev = "v${version}";
|
2020-10-28 14:14:18 +00:00
|
|
|
sha256 = "0npxhaam2ra2b9zh2gk2q0n5snlhx6glz86m3jf8hz037w920k41";
|
2018-01-30 04:29:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "clipboard-indicator@tudmotu.com";
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 11:06:33 +00:00
|
|
|
runHook preInstall
|
2018-01-30 04:29:33 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions/${uuid}
|
|
|
|
cp -r * $out/share/gnome-shell/extensions/${uuid}
|
2020-07-18 11:06:33 +00:00
|
|
|
runHook postInstall
|
2018-01-30 04:29:33 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-30 04:29:33 +00:00
|
|
|
description = "Adds a clipboard indicator to the top panel and saves clipboard history";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonafato ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator";
|
2018-01-30 04:29:33 +00:00
|
|
|
};
|
|
|
|
}
|