37 lines
885 B
Nix
37 lines
885 B
Nix
|
{ stdenv, lib, fetchFromGitHub, glib, nodePackages, gjs }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "gnome-shell-extension-pop-shell";
|
||
|
version = "unstable-2021-11-30";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "pop-os";
|
||
|
repo = "shell";
|
||
|
rev = "4b65ee865d01436ec75a239a0586a2fa6051b8c3";
|
||
|
sha256 = "DHmp3kzBgbyxRe0TjER/CAqyUmD9LeRqAFQ9apQDzfk=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ glib nodePackages.typescript gjs ];
|
||
|
|
||
|
buildInputs = [ gjs ];
|
||
|
|
||
|
patches = [
|
||
|
./fix-gjs.patch
|
||
|
];
|
||
|
|
||
|
makeFlags = [ "XDG_DATA_HOME=$(out)/share" ];
|
||
|
|
||
|
passthru = {
|
||
|
extensionUuid = "pop-shell@system76.com";
|
||
|
extensionPortalSlug = "pop-shell";
|
||
|
};
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Keyboard-driven layer for GNOME Shell";
|
||
|
license = licenses.gpl3Only;
|
||
|
platforms = platforms.linux;
|
||
|
maintainers = [ maintainers.genofire ];
|
||
|
homepage = "https://github.com/pop-os/shell";
|
||
|
};
|
||
|
}
|