Skip to content

Commit b6d624e

Browse files
authored
notonoto-35: init at 0.0.3, notonoto-console: init at 0.0.3, notonoto-hs-35: init at 0.0.3, notonoto-hs-console: init at 0.0.3 (#383615)
2 parents f60a759 + 78b6d0e commit b6d624e

File tree

4 files changed

+232
-0
lines changed

4 files changed

+232
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
stdenvNoCC,
5+
fontforge,
6+
python3,
7+
}:
8+
9+
let
10+
python3' = python3.withPackages (
11+
ps: with ps; [
12+
fonttools
13+
ttfautohint-py
14+
]
15+
);
16+
in
17+
18+
stdenvNoCC.mkDerivation rec {
19+
pname = "notonoto-35";
20+
version = "0.0.3";
21+
22+
src = fetchFromGitHub {
23+
owner = "yuru7";
24+
repo = "NOTONOTO";
25+
tag = "v${version}";
26+
hash = "sha256-1dbx4yC8gL41OEAE/LNDyoDb4xhAwV5h8oRmdlPULUo=";
27+
};
28+
29+
nativeBuildInputs = [
30+
fontforge
31+
python3'
32+
];
33+
34+
buildPhase = ''
35+
runHook preBuild
36+
37+
fontforge --script fontforge_script.py --35
38+
python3 ./fonttools_script.py
39+
40+
runHook postBuild
41+
'';
42+
43+
installPhase = ''
44+
runHook preInstall
45+
46+
install -Dm444 build/*.ttf -t $out/share/fonts/truetype/notonoto-35
47+
48+
runHook postInstall
49+
'';
50+
51+
meta = {
52+
description = "Programming font that combines Noto Sans Mono and Noto Sans JP";
53+
homepage = "https://github.com/yuru7/NOTONOTO";
54+
license = lib.licenses.ofl;
55+
maintainers = with lib.maintainers; [ genga898 ];
56+
platforms = lib.platforms.all;
57+
};
58+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
stdenvNoCC,
5+
fontforge,
6+
python3,
7+
}:
8+
9+
let
10+
python3' = python3.withPackages (
11+
ps: with ps; [
12+
fonttools
13+
ttfautohint-py
14+
]
15+
);
16+
in
17+
18+
stdenvNoCC.mkDerivation rec {
19+
pname = "notonoto-console";
20+
version = "0.0.3";
21+
22+
src = fetchFromGitHub {
23+
owner = "yuru7";
24+
repo = "NOTONOTO";
25+
tag = "v${version}";
26+
hash = "sha256-1dbx4yC8gL41OEAE/LNDyoDb4xhAwV5h8oRmdlPULUo=";
27+
};
28+
29+
nativeBuildInputs = [
30+
fontforge
31+
python3'
32+
];
33+
34+
buildPhase = ''
35+
runHook preBuild
36+
37+
fontforge --script fontforge_script.py --console
38+
python3 ./fonttools_script.py
39+
40+
runHook postBuild
41+
'';
42+
43+
installPhase = ''
44+
runHook preInstall
45+
46+
install -Dm444 build/*.ttf -t $out/share/fonts/truetype/notonoto-console
47+
48+
runHook postInstall
49+
'';
50+
51+
meta = {
52+
description = "Programming font that combines Noto Sans Mono and Noto Sans JP";
53+
homepage = "https://github.com/yuru7/NOTONOTO";
54+
license = lib.licenses.ofl;
55+
maintainers = with lib.maintainers; [ genga898 ];
56+
platforms = lib.platforms.all;
57+
};
58+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
stdenvNoCC,
5+
fontforge,
6+
python3,
7+
}:
8+
9+
let
10+
python3' = python3.withPackages (
11+
ps: with ps; [
12+
fonttools
13+
ttfautohint-py
14+
]
15+
);
16+
in
17+
18+
stdenvNoCC.mkDerivation rec {
19+
pname = "notonoto-hs-35";
20+
version = "0.0.3";
21+
22+
src = fetchFromGitHub {
23+
owner = "yuru7";
24+
repo = "NOTONOTO";
25+
tag = "v${version}";
26+
hash = "sha256-1dbx4yC8gL41OEAE/LNDyoDb4xhAwV5h8oRmdlPULUo=";
27+
};
28+
29+
nativeBuildInputs = [
30+
fontforge
31+
python3'
32+
];
33+
34+
buildPhase = ''
35+
runHook preBuild
36+
37+
fontforge --script fontforge_script.py --hidden-zenkaku-space --35
38+
python3 ./fonttools_script.py
39+
40+
runHook postBuild
41+
'';
42+
43+
installPhase = ''
44+
runHook preInstall
45+
46+
install -Dm444 build/*.ttf -t $out/share/fonts/truetype/notonoto-hs-35
47+
48+
runHook postInstall
49+
'';
50+
51+
meta = {
52+
description = "Programming font that combines Noto Sans Mono and Noto Sans JP";
53+
homepage = "https://github.com/yuru7/NOTONOTO";
54+
license = lib.licenses.ofl;
55+
maintainers = with lib.maintainers; [ genga898 ];
56+
platforms = lib.platforms.all;
57+
};
58+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
stdenvNoCC,
5+
fontforge,
6+
python3,
7+
}:
8+
9+
let
10+
python3' = python3.withPackages (
11+
ps: with ps; [
12+
fonttools
13+
ttfautohint-py
14+
]
15+
);
16+
in
17+
18+
stdenvNoCC.mkDerivation rec {
19+
pname = "notonoto-hs-console";
20+
version = "0.0.3";
21+
22+
src = fetchFromGitHub {
23+
owner = "yuru7";
24+
repo = "NOTONOTO";
25+
tag = "v${version}";
26+
hash = "sha256-1dbx4yC8gL41OEAE/LNDyoDb4xhAwV5h8oRmdlPULUo=";
27+
};
28+
29+
nativeBuildInputs = [
30+
fontforge
31+
python3'
32+
];
33+
34+
buildPhase = ''
35+
runHook preBuild
36+
37+
fontforge --script fontforge_script.py --hidden-zenkaku-space --console
38+
python3 ./fonttools_script.py
39+
40+
runHook postBuild
41+
'';
42+
43+
installPhase = ''
44+
runHook preInstall
45+
46+
install -Dm444 build/*.ttf -t $out/share/fonts/truetype/notonoto-hs-console
47+
48+
runHook postInstall
49+
'';
50+
51+
meta = {
52+
description = "Programming font that combines Noto Sans Mono and Noto Sans JP";
53+
homepage = "https://github.com/yuru7/NOTONOTO";
54+
license = lib.licenses.ofl;
55+
maintainers = with lib.maintainers; [ genga898 ];
56+
platforms = lib.platforms.all;
57+
};
58+
}

0 commit comments

Comments
 (0)