{ fetchgit, lib, nodejs, gettext, just, zip, unzip, libarchive, buildNpmPackage, glib }: buildNpmPackage { pname = "rounded-window-corners-reborn"; version = "latest"; src = fetchgit { url = "https://github.com/flexagoon/rounded-window-corners"; rev = "354fa8a97d7679e88df6bbb1aafef9255429abdf"; hash = "sha256-HiN5xxdlzSLg+0muXeqt2beiHcF9A9P5WI4c6lzo0Ck="; }; npmDepsHash = "sha256-2brE1GlzyHN9G/161aKiuHVVbjrpnN/0FBwuBDg/8W0="; nativeBuildInputs = [ nodejs gettext just zip unzip libarchive glib ]; buildPhase = '' just pack ''; installPhase = '' mkdir -p $out/share/gnome-shell/extensions install -d $out/share/gnome-shell/extensions/rounded-window-corners@fxgn bsdtar -xvf "rounded-window-corners@fxgn.shell-extension.zip" -C "$out/share/gnome-shell/extensions/rounded-window-corners@fxgn" --no-same-owner mv $out/share/gnome-shell/extensions/rounded-window-corners@fxgn/locale $out/share/ install -Dm644 "$out/share/gnome-shell/extensions/rounded-window-corners@fxgn/schemas/org.gnome.shell.extensions.rounded-window-corners-reborn.gschema.xml" -t "$out/share/glib-2.0/schemas/" ''; meta = with lib; { description = "Rounded window corners reborn"; license = with licenses; [ gpl3 ]; maintainers = with maintainers; [ jdigi78 ]; homepage = "https://github.com/flexagoon/rounded-window-corners"; }; }