pantheon.elementary-gtk-theme: 6.1.1 -> 7.0.0

This commit is contained in:
Bobby Rong 2022-04-26 10:21:21 +08:00
parent 87d34a6b89
commit 95d3cc9015
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,31 +1,38 @@
{ lib { lib
, stdenv , stdenvNoCC
, fetchFromGitHub , fetchFromGitHub
, nix-update-script , nix-update-script
, gettext
, meson , meson
, ninja , ninja
, gettext , python3
, sassc , sassc
}: }:
stdenv.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "elementary-gtk-theme"; pname = "elementary-gtk-theme";
version = "6.1.1"; version = "7.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = "stylesheet"; repo = "stylesheet";
rev = version; rev = version;
sha256 = "sha256-gciBn5MQ5Cu+dROL5kCt2GCbNA7W4HOWXyjMBd4OP+8="; sha256 = "sha256-ZnQ54ktH0/ZyFH6c180YzbkK/TyIDziiwAXi/zqHpe4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
gettext gettext
meson meson
ninja ninja
python3
sassc sassc
]; ];
postPatch = ''
chmod +x meson/install-to-dir.py
patchShebangs meson/install-to-dir.py
'';
passthru = { passthru = {
updateScript = nix-update-script { updateScript = nix-update-script {
attrPath = "pantheon.${pname}"; attrPath = "pantheon.${pname}";