16 stdenv.mkDerivation rec {
17 pname = "pop-gtk-theme";
18 version = "2021-08-19";
20 src = fetchFromGitHub {
23 rev = "6615e4510485c5dc0b379746acc40f538d987c86";
24 sha256 = "16h03x2m4j4hfwp7pdmw1navcy5q7di38jvigfgf263wajyxbznr";
42 propagatedUserEnvPkgs = [
49 for file in $(find -name render-\*.sh); do
50 substituteInPlace "$file" \
51 --replace 'INKSCAPE="/usr/bin/inkscape"' \
52 'INKSCAPE="${inkscape}/bin/inkscape"' \
53 --replace 'OPTIPNG="/usr/bin/optipng"' \
54 'OPTIPNG="${optipng}/bin/optipng"'
59 description = "System76 Pop GTK+ Theme";
60 homepage = "https://github.com/pop-os/gtk-theme";
61 license = with licenses; [ gpl3 lgpl21 cc-by-sa-40 ];
62 platforms = platforms.linux;