tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
circle-flags: init at 2.7.0
Bobby Rong
2 years ago
2acaf537
8bd7b8ce
+36
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ci
circle-flags
package.nix
+36
pkgs/by-name/ci/circle-flags/package.nix
···
1
1
+
{ stdenvNoCC
2
2
+
, lib
3
3
+
, fetchFromGitHub
4
4
+
, nix-update-script
5
5
+
}:
6
6
+
7
7
+
stdenvNoCC.mkDerivation (finalAttrs: {
8
8
+
pname = "circle-flags";
9
9
+
version = "2.7.0";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "HatScripts";
13
13
+
repo = "circle-flags";
14
14
+
rev = "v${finalAttrs.version}";
15
15
+
hash = "sha256-/+f5MDRW+tRH+jMtl3XuVPBShgy2PlD3NY+74mJa2Qk=";
16
16
+
};
17
17
+
18
18
+
installPhase = ''
19
19
+
runHook preInstall
20
20
+
21
21
+
mkdir -p $out/share
22
22
+
mv flags $out/share/circle-flags-svg
23
23
+
24
24
+
runHook postInstall
25
25
+
'';
26
26
+
27
27
+
passthru.updateScript = nix-update-script { };
28
28
+
29
29
+
meta = with lib; {
30
30
+
homepage = "https://github.com/HatScripts/circle-flags";
31
31
+
description = "Collection of 400+ minimal circular SVG country and state flags";
32
32
+
license = licenses.mit;
33
33
+
maintainers = with maintainers; [ bobby285271 ];
34
34
+
platforms = platforms.all;
35
35
+
};
36
36
+
})