forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / ci / circle-flags / package.nix
blobeed82fbdbb47ab0d4dcf54b151b55a04f2a43ea1
1 { stdenvNoCC
2 , lib
3 , fetchFromGitHub
4 , nix-update-script
5 }:
7 stdenvNoCC.mkDerivation (finalAttrs: {
8   pname = "circle-flags";
9   version = "2.7.0";
11   src = fetchFromGitHub {
12     owner = "HatScripts";
13     repo = "circle-flags";
14     rev = "v${finalAttrs.version}";
15     hash = "sha256-/+f5MDRW+tRH+jMtl3XuVPBShgy2PlD3NY+74mJa2Qk=";
16   };
18   installPhase = ''
19     runHook preInstall
21     mkdir -p $out/share
22     mv flags $out/share/circle-flags-svg
24     runHook postInstall
25   '';
27   passthru.updateScript = nix-update-script { };
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   };