2023-03-16 13:45:37 +00:00
|
|
|
{pkgs, stdenv, lib, ...}: stdenv.mkDerivation {
|
2023-03-16 13:32:37 +00:00
|
|
|
pname = "justseeds-fontpack";
|
2023-03-16 13:45:37 +00:00
|
|
|
version = "10.000";
|
2023-03-16 13:32:37 +00:00
|
|
|
|
|
|
|
# Fontpack 1
|
|
|
|
pack01 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JS_fontpack1_2.zip";
|
|
|
|
sha256 = "q++XV6tR2eOpp9VEw0EXfk9HcGC/WcPn4dgajwnfBfk=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 2
|
|
|
|
pack02 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/justseeds_fontpak2.zip";
|
|
|
|
sha256 = "nQXjkJw5T0GLqT4U3HJ51Sv1MNxvKOeeAg2c54VouRE=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 3
|
|
|
|
pack03 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JSOTP-FP3.zip";
|
|
|
|
sha256 = "lLPsbpRuDVWgt/GX3/ZvxPjBDVNeu7OhhnBLqpmCArA=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 4
|
|
|
|
pack04 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/fontpak4_3.zip";
|
|
|
|
sha256 = "X1WaU4fGcNjrRT0MW6HzysiYV6s1E03nMxeg5PG2wR0=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 5
|
|
|
|
pack05 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pak-5.zip";
|
|
|
|
sha256 = "2cgh4Xd0prG+fk/hNyugRxW0+8dYrsRIAlBh2AH5ql8=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 6
|
|
|
|
pack06 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JS-Font-pack-6.zip";
|
|
|
|
sha256 = "JgJ6czKxNHq/aZ80MqLAazLWW/pe7qZrPgc2+h6itGI=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 7
|
|
|
|
pack07 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pack-7.zip";
|
|
|
|
sha256 = "ojpvd2VvuZHHnGMb7NDHnF0qkPnUCW6xwVTgGAf2L24=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 8
|
|
|
|
pack08 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/Justseeds-Font-Pack-8.zip";
|
|
|
|
sha256 = "IBYvFWXOLMEux0s4KA5dx3rk7WJFVEm5j+1Lk/CPGlg=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 9
|
|
|
|
pack09 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pack-9.zip";
|
|
|
|
sha256 = "wxxZgi/19UUuYeEFMk9r3ysLBoTbWRnsW8VROYe+OyA=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fontpack 10
|
|
|
|
pack10 = pkgs.fetchzip {
|
|
|
|
url = "https://justseeds.org/wp-content/uploads/JSOTP-10.zip";
|
|
|
|
sha256 = "SPHLwNFUOzmm7oNGlyAWyUsfMxROSgmkBUGvhbZT67Q=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
|
|
install -D -m 444 $pack01/JS_fontpak1/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack02/justseeds_fontpak2/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack03/'JSOTP FP3'/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack04/fontpak4/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack05/'JS Font Pak 5'/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack06/'JS Font pack 6'/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack07/'JS Font Pack 7'/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack08/'Justseeds Font Pack 8'/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack09/'Justseeds Font Pack 9'/*.otf -t $out/share/fonts/otf
|
|
|
|
install -D -m 444 $pack10/'JSOTP 10'/*.otf -t $out/share/fonts/otf
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2023-03-16 13:46:39 +00:00
|
|
|
description = "Open-access fonts for activists, organizers, and movement designers";
|
2023-03-16 13:32:37 +00:00
|
|
|
homepage = "https://justseeds.org/project/justseeds-open-type-project/";
|
2023-03-16 13:45:37 +00:00
|
|
|
license = lib.licenses.cc-by-nc-40;
|
2023-03-16 13:32:37 +00:00
|
|
|
maintainers = [{
|
|
|
|
email = "ember@corviform.gay";
|
|
|
|
github = "Alch-Emi";
|
|
|
|
githubId = 38897201;
|
|
|
|
name = "Ember Hearth";
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
}
|