Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

72 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
sassc,
gtk3,
inkscape,
optipng,
gtk-engine-murrine,
gdk-pixbuf,
librsvg,
python3,
buildPackages,
}:
stdenv.mkDerivation {
pname = "pop-gtk-theme";
version = "2021-08-19";
src = fetchFromGitHub {
owner = "pop-os";
repo = "gtk-theme";
rev = "6615e4510485c5dc0b379746acc40f538d987c86";
sha256 = "16h03x2m4j4hfwp7pdmw1navcy5q7di38jvigfgf263wajyxbznr";
};
nativeBuildInputs = [
meson
ninja
sassc
gtk3
inkscape
optipng
python3
];
buildInputs = [
gdk-pixbuf
librsvg
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
postPatch = ''
patchShebangs .
for file in $(find -name render-\*.sh); do
substituteInPlace "$file" \
--replace 'INKSCAPE="/usr/bin/inkscape"' \
'INKSCAPE="${buildPackages.inkscape}/bin/inkscape"' \
--replace 'OPTIPNG="/usr/bin/optipng"' \
'OPTIPNG="${buildPackages.optipng}/bin/optipng"'
done
'';
meta = with lib; {
description = "System76 Pop GTK+ Theme";
homepage = "https://github.com/pop-os/gtk-theme";
license = with licenses; [
gpl3
lgpl21
cc-by-sa-40
];
platforms = platforms.linux;
maintainers = [ ];
};
}