about summary refs log tree commit diff
path: root/pkgs/data/icons/tela-circle-icon-theme
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2022-03-08 16:39:44 -0300
committerJosé Romildo <malaquias@gmail.com>2022-03-10 11:35:52 -0300
commit522cdaaf0602274d2111e2291fa11282c2adc2a3 (patch)
treef8e7cafa88f650617797dc8a1517dfcd948f2ace /pkgs/data/icons/tela-circle-icon-theme
parentf96b8cffaf76a54f4c3c8b4b5cc1dfa70f4f7142 (diff)
tela-circle-icon-theme: 2022-02-08 -> 2022-03-07
- Update to version 2022-03-07
- Use symbolic links instead of hard links in jdupes
- Add update script
- Restrict platforms to linux, as darwin systems use case-insensitive filesystems that cause hash mismatches
Diffstat (limited to 'pkgs/data/icons/tela-circle-icon-theme')
-rw-r--r--pkgs/data/icons/tela-circle-icon-theme/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/data/icons/tela-circle-icon-theme/default.nix b/pkgs/data/icons/tela-circle-icon-theme/default.nix
index d19dcba69fd8f..dcff587dd357d 100644
--- a/pkgs/data/icons/tela-circle-icon-theme/default.nix
+++ b/pkgs/data/icons/tela-circle-icon-theme/default.nix
@@ -4,6 +4,7 @@
 , gtk3
 , hicolor-icon-theme
 , jdupes
+, gitUpdater
 , allColorVariants ? false
 , circularFolder ? false
 , colorVariants ? [] # default is standard
@@ -16,13 +17,13 @@ lib.checkListOfEnum "${pname}: color variants" [ "standard" "black" "blue" "brow
 
 stdenvNoCC.mkDerivation rec {
   inherit pname;
-  version = "2022-02-08";
+  version = "2022-03-07";
 
   src = fetchFromGitHub {
     owner = "vinceliuice";
     repo = pname;
     rev = version;
-    sha256 = "08a1jhirvn2x9hhjr0lqqqayhsf446cddapprxpsnsn9q6x2j2gp";
+    sha256 = "vQeWGZmurvT/UQJ1dx6t+ZeKdJ1Oq9TdHBADw64x18g=";
   };
 
   nativeBuildInputs = [
@@ -50,16 +51,18 @@ stdenvNoCC.mkDerivation rec {
       ${lib.optionalString circularFolder "-c"} \
       ${if allColorVariants then "-a" else builtins.toString colorVariants}
 
-    jdupes -L -r $out/share/icons
+    jdupes --link-soft --recurse $out/share
 
     runHook postInstall
   '';
 
+  passthru.updateScript = gitUpdater {inherit pname version; };
+
   meta = with lib; {
     description = "Flat and colorful personality icon theme";
     homepage = "https://github.com/vinceliuice/Tela-circle-icon-theme";
     license = licenses.gpl3Only;
-    platforms = platforms.unix;
+    platforms = platforms.linux; # darwin use case-insensitive filesystems that cause hash mismatches
     maintainers = with maintainers; [ romildo ];
   };
 }