diff options
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/apple-cursor/default.nix | 2 | ||||
-rw-r--r-- | pkgs/data/icons/graphite-cursors/default.nix | 32 | ||||
-rw-r--r-- | pkgs/data/icons/numix-icon-theme-square/default.nix | 4 | ||||
-rw-r--r-- | pkgs/data/icons/tela-icon-theme/default.nix | 7 |
4 files changed, 39 insertions, 6 deletions
diff --git a/pkgs/data/icons/apple-cursor/default.nix b/pkgs/data/icons/apple-cursor/default.nix index 90898333b45c..46b4b37f78df 100644 --- a/pkgs/data/icons/apple-cursor/default.nix +++ b/pkgs/data/icons/apple-cursor/default.nix @@ -8,7 +8,7 @@ let name = variant; url = "https://github.com/ful1e5/apple_cursor/releases/download/v${version}/${variant}.${suffix}"; hash = hash; - } // (if suffix == "zip" then { stripRoot = false; } else {})); + } // (lib.optionalAttrs (suffix == "zip") { stripRoot = false; })); version = "2.0.0"; srcs = [ diff --git a/pkgs/data/icons/graphite-cursors/default.nix b/pkgs/data/icons/graphite-cursors/default.nix new file mode 100644 index 000000000000..357ebcd9a6b3 --- /dev/null +++ b/pkgs/data/icons/graphite-cursors/default.nix @@ -0,0 +1,32 @@ +{ lib +, stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + pname = "graphite-cursors"; + version = "2021-11-26"; + + src = fetchFromGitHub { + owner = "vinceliuice"; + repo = pname; + rev = "${version}"; + sha256 = "sha256-Kopl2NweYrq9rhw+0EUMhY/pfGo4g387927TZAhI5/A="; + }; + + installPhase = '' + install -dm 755 $out/share/icons + mv dist-dark $out/share/icons/graphite-dark + mv dist-light $out/share/icons/graphite-light + mv dist-dark-nord $out/share/icons/graphite-dark-nord + mv dist-light-nord $out/share/icons/graphite-light-nord + ''; + + meta = with lib; { + description = "Graphite cursor theme"; + homepage = "https://github.com/vinceliuice/Graphite-cursors"; + license = licenses.gpl3Only; + platforms = platforms.all; + maintainers = with maintainers; [ oluceps ]; + }; +} diff --git a/pkgs/data/icons/numix-icon-theme-square/default.nix b/pkgs/data/icons/numix-icon-theme-square/default.nix index 04d907d4707a..4daf0cb07831 100644 --- a/pkgs/data/icons/numix-icon-theme-square/default.nix +++ b/pkgs/data/icons/numix-icon-theme-square/default.nix @@ -2,13 +2,13 @@ stdenvNoCC.mkDerivation rec { pname = "numix-icon-theme-square"; - version = "23.06.11"; + version = "23.06.21"; src = fetchFromGitHub { owner = "numixproject"; repo = pname; rev = version; - sha256 = "sha256-pm3sEx3OJkS4sz+sg09HeTSdQZTdjyxJCsjYWCA4mN0="; + sha256 = "sha256-eJELv8lRgV687vu0PQfvZoSTaPtVyTniRINRxIIVjJg="; }; nativeBuildInputs = [ gtk3 ]; diff --git a/pkgs/data/icons/tela-icon-theme/default.nix b/pkgs/data/icons/tela-icon-theme/default.nix index 2b98e09eca29..f77ab73032c3 100644 --- a/pkgs/data/icons/tela-icon-theme/default.nix +++ b/pkgs/data/icons/tela-icon-theme/default.nix @@ -2,13 +2,13 @@ stdenvNoCC.mkDerivation rec { pname = "tela-icon-theme"; - version = "2023-02-03"; + version = "2023-06-25"; src = fetchFromGitHub { owner = "vinceliuice"; - repo = pname; + repo = "tela-icon-theme"; rev = version; - sha256 = "sha256-W3gGn4ioTg/iOWTa5hfwx6FWzpFilpG8IXwaO5/YAvk="; + hash = "sha256-tv0C4mW2A3dScUXBWa7a3lkG4lPIjZTsj5b1/oEVuiw="; }; nativeBuildInputs = [ gtk3 jdupes ]; @@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "A flat colorful Design icon theme"; homepage = "https://github.com/vinceliuice/tela-icon-theme"; + changelog = "https://github.com/vinceliuice/Tela-icon-theme/releases/tag/${src.rev}"; license = licenses.gpl3Only; # darwin systems use case-insensitive filesystems that cause hash mismatches platforms = subtractLists platforms.darwin platforms.unix; |