nixos-config/pkgs/draw-on-your-screen2/default.nix

22 lines
605 B
Nix
Raw Normal View History

2024-08-23 23:34:10 -03:00
{ fetchFromGitHub, stdenv }:
stdenv.mkDerivation {
pname = "draw-on-your-screen";
version = "unstable-2024-06-18";
src = fetchFromGitHub {
owner = "zhrexl";
repo = "DrawOnYourScreen2";
rev = "9b5c6633a1c2b8c5b35bac45276ad1302542ab9b";
hash = "sha256-J4ljx3HBe+86PGOIIgabtj8AuUAf88/bpTfRXowUng4=";
};
installPhase = ''
mkdir -p $out/share/gnome-shell/extensions/draw-on-your-screen2@zhrexl.github.com
cp -r ./* $out/share/gnome-shell/extensions/draw-on-your-screen2@zhrexl.github.com
mkdir -p $out/share/glib-2.0/
cp -r ./schemas/ $out/share/glib-2.0/
'';
}