2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, gettext, gnome3 }:
|
2020-02-26 00:37:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-draw-on-your-screen";
|
2021-01-14 05:59:51 +00:00
|
|
|
version = "10";
|
2020-02-26 00:37:47 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://framagit.org/abakkk/DrawOnYourScreen/";
|
|
|
|
rev = "v${version}";
|
2021-01-14 05:59:51 +00:00
|
|
|
sha256 = "07adzg3mf6k0pmd9lc358w0w3l4pr3p6374day1qhmci2p4zxq6p";
|
2020-02-26 00:37:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "drawOnYourScreen@abakkk.framagit.org";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/gnome-shell/extensions/${uuid}
|
|
|
|
cp -r . $out/share/gnome-shell/extensions/${uuid}
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-26 00:37:47 +00:00
|
|
|
description = "A drawing extension for GNOME Shell";
|
|
|
|
license = licenses.gpl2Plus;
|
2021-01-14 05:59:51 +00:00
|
|
|
maintainers = with maintainers; [ ericdallo ahuzik ];
|
2020-02-26 00:37:47 +00:00
|
|
|
platforms = gnome3.gnome-shell.meta.platforms;
|
|
|
|
homepage = "https://framagit.org/abakkk/DrawOnYourScreen";
|
|
|
|
};
|
|
|
|
}
|