Merge pull request #257445 from bobby285271/fix/hypnotix

hypnotix: Add missing circles-flags

authored by Bobby Rong and committed by GitHub 45825cf7 90608889

+38
+2
pkgs/applications/video/hypnotix/default.nix
··· 3 , fetchFromGitHub 4 , substituteAll 5 , cinnamon 6 , gettext 7 , gobject-introspection 8 , mpv ··· 31 postPatch = '' 32 substituteInPlace usr/lib/hypnotix/hypnotix.py \ 33 --replace __DEB_VERSION__ ${version} \ 34 --replace /usr/share/hypnotix $out/share/hypnotix 35 ''; 36
··· 3 , fetchFromGitHub 4 , substituteAll 5 , cinnamon 6 + , circle-flags 7 , gettext 8 , gobject-introspection 9 , mpv ··· 32 postPatch = '' 33 substituteInPlace usr/lib/hypnotix/hypnotix.py \ 34 --replace __DEB_VERSION__ ${version} \ 35 + --replace /usr/share/circle-flags-svg ${circle-flags}/share/circle-flags-svg \ 36 --replace /usr/share/hypnotix $out/share/hypnotix 37 ''; 38
+36
pkgs/by-name/ci/circle-flags/package.nix
···
··· 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , nix-update-script 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "circle-flags"; 9 + version = "2.7.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "HatScripts"; 13 + repo = "circle-flags"; 14 + rev = "v${finalAttrs.version}"; 15 + hash = "sha256-/+f5MDRW+tRH+jMtl3XuVPBShgy2PlD3NY+74mJa2Qk="; 16 + }; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir -p $out/share 22 + mv flags $out/share/circle-flags-svg 23 + 24 + runHook postInstall 25 + ''; 26 + 27 + passthru.updateScript = nix-update-script { }; 28 + 29 + meta = with lib; { 30 + homepage = "https://github.com/HatScripts/circle-flags"; 31 + description = "Collection of 400+ minimal circular SVG country and state flags"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ bobby285271 ]; 34 + platforms = platforms.all; 35 + }; 36 + })