tela-circle-icon-theme: 2022-03-07 -> 2022-11-06 (#200377)

This commit is contained in:
José Romildo Malaquias 2022-11-09 21:57:35 -03:00 committed by GitHub
parent d4926fc87f
commit c588a77cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -1,6 +1,8 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, adwaita-icon-theme
, breeze-icons
, gtk3
, hicolor-icon-theme
, jdupes
@ -13,17 +15,17 @@
let
pname = "tela-circle-icon-theme";
in
lib.checkListOfEnum "${pname}: color variants" [ "standard" "black" "blue" "brown" "green" "grey" "orange" "pink" "purple" "red" "yellow" "manjaro" "ubuntu" ] colorVariants
lib.checkListOfEnum "${pname}: color variants" [ "standard" "black" "blue" "brown" "green" "grey" "orange" "pink" "purple" "red" "yellow" "manjaro" "ubuntu" "dracula" "nord" ] colorVariants
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "2022-03-07";
version = "2022-11-06";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "vQeWGZmurvT/UQJ1dx6t+ZeKdJ1Oq9TdHBADw64x18g=";
sha256 = "ybp+r0Ru2lJg1WipFHIowvRO5XjppI0cUxKc6kPn0lM=";
};
nativeBuildInputs = [
@ -32,6 +34,8 @@ stdenvNoCC.mkDerivation rec {
];
propagatedBuildInputs = [
adwaita-icon-theme
breeze-icons
hicolor-icon-theme
];
@ -42,16 +46,18 @@ stdenvNoCC.mkDerivation rec {
dontPatchELF = true;
dontRewriteSymlinks = true;
postPatch = ''
patchShebangs install.sh
'';
installPhase = ''
runHook preInstall
patchShebangs install.sh
./install.sh -d $out/share/icons \
${lib.optionalString circularFolder "-c"} \
${if allColorVariants then "-a" else builtins.toString colorVariants}
jdupes --link-soft --recurse $out/share
jdupes --quiet --link-soft --recurse $out/share
runHook postInstall
'';

View File

@ -26943,7 +26943,9 @@ with pkgs;
theano = callPackage ../data/fonts/theano { };
tela-circle-icon-theme = callPackage ../data/icons/tela-circle-icon-theme { };
tela-circle-icon-theme = callPackage ../data/icons/tela-circle-icon-theme {
inherit (gnome) adwaita-icon-theme;
};
tela-icon-theme = callPackage ../data/icons/tela-icon-theme { };