2021-11-24 01:56:33 +00:00
|
|
|
{
|
|
|
|
lib,
|
2022-04-26 02:21:21 +00:00
|
|
|
stdenvNoCC,
|
2019-08-05 18:02:06 +00:00
|
|
|
fetchFromGitHub,
|
2020-07-29 16:33:39 +00:00
|
|
|
nix-update-script,
|
2022-04-26 02:21:21 +00:00
|
|
|
gettext,
|
2019-08-05 18:02:06 +00:00
|
|
|
meson,
|
|
|
|
ninja,
|
2022-04-26 02:21:21 +00:00
|
|
|
python3,
|
2021-07-17 12:53:52 +00:00
|
|
|
sassc,
|
2019-08-05 18:02:06 +00:00
|
|
|
}:
|
2018-08-20 20:31:18 +00:00
|
|
|
|
2022-04-26 02:21:21 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-08-05 22:41:32 +00:00
|
|
|
pname = "elementary-gtk-theme";
|
2024-11-21 12:04:11 +00:00
|
|
|
version = "8.2.0";
|
2018-08-20 20:31:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2022-01-19 14:50:20 +00:00
|
|
|
repo = "stylesheet";
|
2018-08-20 20:31:18 +00:00
|
|
|
rev = version;
|
2024-11-21 12:04:11 +00:00
|
|
|
sha256 = "sha256-l7E5o7JNqfJZzKpyvsjIVd2i9fwLh4Qn8oJ/S5RlFQ8=";
|
2018-08-20 20:31:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-11-03 16:41:01 +00:00
|
|
|
gettext
|
2018-08-20 20:31:18 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2022-04-26 02:21:21 +00:00
|
|
|
python3
|
2021-07-17 12:53:52 +00:00
|
|
|
sassc
|
2018-08-20 20:31:18 +00:00
|
|
|
];
|
|
|
|
|
2022-04-26 02:21:21 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/install-to-dir.py
|
|
|
|
patchShebangs meson/install-to-dir.py
|
|
|
|
'';
|
|
|
|
|
2021-11-24 01:56:33 +00:00
|
|
|
passthru = {
|
2022-12-25 22:11:14 +00:00
|
|
|
updateScript = nix-update-script { };
|
2021-11-24 01:56:33 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 20:31:18 +00:00
|
|
|
description = "GTK theme designed to be smooth, attractive, fast, and usable";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/elementary/stylesheet";
|
2022-01-30 02:46:17 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-08-20 20:31:18 +00:00
|
|
|
platforms = platforms.linux;
|
2021-09-18 15:00:51 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2018-08-20 20:31:18 +00:00
|
|
|
};
|
|
|
|
}
|