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
, 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}";