Nix-Configs/packages/justseeds.nix

124 lines
3.9 KiB
Nix
Raw Normal View History

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-12-23 00:47:51 +00:00
version = "13.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 {
2023-12-23 00:37:45 +00:00
url = "https://justseeds.org/wp-content/uploads/JSOTP-FP3_2.zip";
sha256 = "gUbyXkR+Kr5w0//fbl72qqQRgqiyaA34pwDt1+t+Ejc=";
2023-03-16 13:32:37 +00:00
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 {
2023-10-22 13:58:02 +00:00
url = "https://justseeds.org/wp-content/uploads/JS-Font-Pack-7_3.zip";
sha256 = "bQOCStjWSIpqOCZITxiefZ9/+ZINiwmyqaH1TXX2gQc=";
2023-03-16 13:32:37 +00:00
stripRoot = false;
};
# Fontpack 8
pack08 = pkgs.fetchzip {
2023-10-22 13:58:02 +00:00
url = "https://justseeds.org/wp-content/uploads/Justseeds-Font-Pack-8_3.zip";
sha256 = "eM0jT716BaDMfW42zkoVqMy+DIcz7rm8+BPFmX6+0bk=";
2023-03-16 13:32:37 +00:00
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;
};
2023-10-22 13:58:02 +00:00
# Fontpack 11
pack11 = pkgs.fetchzip {
url = "https://justseeds.org/wp-content/uploads/JSOTP-11.zip";
sha256 = "Cp2i9kcXnkgsCxqPwcyJ6UXiWp+/wkeGgC0SVw3uh1s=";
stripRoot = false;
};
2023-12-23 00:47:51 +00:00
# Fontpack 12
pack12 = pkgs.fetchzip {
url = "https://justseeds.org/wp-content/uploads/JSOTP-12.zip";
sha256 = "anwRr+yaQWp/nxdXu89UMHSoexGvAuE2gApsfq3UibU=";
stripRoot = false;
};
# Fontpack 13
pack13 = pkgs.fetchzip {
url = "https://justseeds.org/wp-content/uploads/JOSTP-13.zip";
sha256 = "HOVl9PYZb6PUs0nIbognJQDvaasiafOWMkxiWliPQZg=";
stripRoot = false;
};
2023-03-16 13:32:37 +00:00
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
2023-12-23 00:37:45 +00:00
install -D -m 444 $pack03/'JSOTP FP3_2'/*.otf -t $out/share/fonts/otf
2023-03-16 13:32:37 +00:00
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
2023-10-22 13:58:02 +00:00
install -D -m 444 $pack11/'JSOTP 11'/*.otf -t $out/share/fonts/otf
2023-12-23 00:47:51 +00:00
install -D -m 444 $pack12/'JSOTP 12'/*.otf -t $out/share/fonts/otf
install -D -m 444 $pack13/'JOSTP 13'/*.otf -t $out/share/fonts/otf
2023-03-16 13:32:37 +00:00
'';
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";
}];
};
}