papirus-nord: init at 3.2.0 (#232965)

* papirus-nord: init at 3.2.0

* Update pkgs/data/icons/papirus-nord/default.nix

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Alexandre Acebedo Sandro and committed by GitHub 541f88fb beb85be0

+77
+75
pkgs/data/icons/papirus-nord/default.nix
··· 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , gtk3 5 + , getent 6 + , papirus-icon-theme 7 + , accent ? "frostblue1" 8 + }: 9 + let 10 + validAccents = [ 11 + "auroragreen" 12 + "auroragreenb" 13 + "auroramagenta" 14 + "auroramagentab" 15 + "auroraorange" 16 + "auroraorangeb" 17 + "aurorared" 18 + "auroraredb" 19 + "aurorayellow" 20 + "aurorayellowb" 21 + "frostblue1" 22 + "frostblue2" 23 + "frostblue3" 24 + "frostblue4" 25 + "polarnight1" 26 + "polarnight2" 27 + "polarnight3" 28 + "polarnight3" 29 + "snowstorm1" 30 + "snowstorm1b" 31 + ]; 32 + pname = "papirus-nord"; 33 + version = "3.2.0"; 34 + in 35 + lib.checkListOfEnum "${pname}: accent colors" validAccents [ accent ] 36 + 37 + stdenvNoCC.mkDerivation { 38 + inherit pname version; 39 + 40 + src = fetchFromGitHub { 41 + owner = "adapta-projects"; 42 + repo = "papirus-nord"; 43 + rev = version; 44 + sha256 = "sha256-KwwTDGJQ4zN9XH/pKFQDQ+EgyuSCFhN2PQAI35G+3YM="; 45 + }; 46 + 47 + nativeBuildInputs = [ gtk3 getent ]; 48 + 49 + postPatch = '' 50 + patchShebangs ./papirus-folders 51 + ''; 52 + 53 + installPhase = '' 54 + runHook preInstall 55 + mkdir -p $out/share/icons 56 + cp -r --no-preserve=mode ${papirus-icon-theme}/share/icons/Papirus* $out/share/icons 57 + for size in 64x64 48x48 32x32 24x24 22x22; do 58 + cp -f Icons/$size/* $out/share/icons/Papirus/$size/places 59 + done 60 + for theme in $out/share/icons/*; do 61 + USER_HOME=$HOME DISABLE_UPDATE_ICON_CACHE=1 \ 62 + ./papirus-folders -t $theme -o -C ${accent} 63 + gtk-update-icon-cache --force $theme 64 + done 65 + runHook postInstall 66 + ''; 67 + 68 + meta = with lib; { 69 + description = "Nord version of Papirus Icon Theme"; 70 + homepage = "https://github.com/Adapta-Projects/Papirus-Nord"; 71 + license = licenses.gpl2Plus; 72 + platforms = platforms.linux; 73 + maintainers = with maintainers; [ aacebedo ]; 74 + }; 75 + }
+2
pkgs/top-level/all-packages.nix
··· 28674 28674 28675 28675 papirus-folders = callPackage ../data/misc/papirus-folders { }; 28676 28676 28677 + papirus-nord = callPackage ../data/icons/papirus-nord { }; 28678 + 28677 28679 plasma-overdose-kde-theme = callPackage ../data/themes/plasma-overdose-kde-theme { }; 28678 28680 28679 28681 papis = with python3Packages; toPythonApplication papis;