From be37c9a4e1466e9e1610c83ab201279a31325f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Fri, 18 Feb 2022 15:48:19 -0300 Subject: [PATCH 1/2] graphite-gtk-theme: add update script --- pkgs/data/themes/graphite-gtk-theme/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/data/themes/graphite-gtk-theme/default.nix b/pkgs/data/themes/graphite-gtk-theme/default.nix index 0c9bae8ac31..cee243fbb20 100644 --- a/pkgs/data/themes/graphite-gtk-theme/default.nix +++ b/pkgs/data/themes/graphite-gtk-theme/default.nix @@ -1,6 +1,7 @@ { lib , stdenvNoCC , fetchFromGitHub +, gitUpdater , gnome-themes-extra , gtk-engine-murrine , jdupes @@ -24,7 +25,7 @@ lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVaria lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "midblack" "rimless" "normal" ] tweaks lib.checkListOfEnum "${pname}: grub screens" [ "1080p" "2k" "4k" ] grubScreens -stdenvNoCC.mkDerivation { +stdenvNoCC.mkDerivation rec { inherit pname; version = "unstable-2022-02-04"; @@ -85,6 +86,8 @@ stdenvNoCC.mkDerivation { runHook postInstall ''; + passthru.updateScript = gitUpdater { inherit pname version; }; + meta = with lib; { description = "Flat Gtk+ theme based on Elegant Design"; homepage = "https://github.com/vinceliuice/Graphite-gtk-theme"; From 5af555af48164cf4d0b8326468c7d5a499b00e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Tue, 22 Mar 2022 12:55:34 -0300 Subject: [PATCH 2/2] graphite-gtk-theme: unstable-2022-02-04 -> 2022-03-22 --- pkgs/data/themes/graphite-gtk-theme/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/data/themes/graphite-gtk-theme/default.nix b/pkgs/data/themes/graphite-gtk-theme/default.nix index cee243fbb20..132e2e9c376 100644 --- a/pkgs/data/themes/graphite-gtk-theme/default.nix +++ b/pkgs/data/themes/graphite-gtk-theme/default.nix @@ -22,18 +22,18 @@ in lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "blue" "all" ] themeVariants lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVariants -lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "midblack" "rimless" "normal" ] tweaks +lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "dark" "rimless" "normal" ] tweaks lib.checkListOfEnum "${pname}: grub screens" [ "1080p" "2k" "4k" ] grubScreens stdenvNoCC.mkDerivation rec { inherit pname; - version = "unstable-2022-02-04"; + version = "2022-03-22"; src = fetchFromGitHub { owner = "vinceliuice"; repo = pname; rev = "7ab6a1b7eda81e914405a9931408b1d5c73e6891"; - sha256 = "09xixd6cz2iyyyg6vskyk0wj2mahfsg21dlfcvi862h8w01hg9lr"; + sha256 = "maYHA+AICoPiZo62IJ52UFUhOZh+6m2e9z6Kz0zrsSc="; }; nativeBuildInputs = [