From 95d3cc901507ee4ff82a8ff8a792e586aa862d4d Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 26 Apr 2022 10:21:21 +0800 Subject: [PATCH] pantheon.elementary-gtk-theme: 6.1.1 -> 7.0.0 --- .../artwork/elementary-gtk-theme/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix b/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix index 558c61d986ad..82b44038ab29 100644 --- a/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix +++ b/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix @@ -1,31 +1,38 @@ { lib -, stdenv +, stdenvNoCC , fetchFromGitHub , nix-update-script +, gettext , meson , ninja -, gettext +, python3 , sassc }: -stdenv.mkDerivation rec { +stdenvNoCC.mkDerivation rec { pname = "elementary-gtk-theme"; - version = "6.1.1"; + version = "7.0.0"; src = fetchFromGitHub { owner = "elementary"; repo = "stylesheet"; rev = version; - sha256 = "sha256-gciBn5MQ5Cu+dROL5kCt2GCbNA7W4HOWXyjMBd4OP+8="; + sha256 = "sha256-ZnQ54ktH0/ZyFH6c180YzbkK/TyIDziiwAXi/zqHpe4="; }; 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 { attrPath = "pantheon.${pname}";