2025-05-18 10:10:47 +08:00

49 lines
890 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
nix-update-script,
gettext,
meson,
ninja,
python3,
sassc,
}:
stdenvNoCC.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "8.2.1";
src = fetchFromGitHub {
owner = "elementary";
repo = "stylesheet";
rev = version;
sha256 = "sha256-ymgSe4LKtbJVwmZJOwer1Geb/VgYltp+tSNHkWtaMlg=";
};
nativeBuildInputs = [
gettext
meson
ninja
python3
sassc
];
postPatch = ''
chmod +x meson/install-to-dir.py
patchShebangs meson/install-to-dir.py
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "GTK theme designed to be smooth, attractive, fast, and usable";
homepage = "https://github.com/elementary/stylesheet";
license = licenses.gpl3Plus;
platforms = platforms.linux;
teams = [ teams.pantheon ];
};
}