crimson-pro: init at unstable-2022-08-30
A professionally produced redesign of Crimson by Jacques Le Bailly. https://github.com/Fonthausen/CrimsonPro
This commit is contained in:
parent
6bcc117fcf
commit
8a837a95ed
35
pkgs/data/fonts/crimson-pro/default.nix
Normal file
35
pkgs/data/fonts/crimson-pro/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "crimson-pro";
|
||||
version = "unstable-2022-08-30";
|
||||
|
||||
outputs = [ "out" "woff2" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fonthausen";
|
||||
repo = "CrimsonPro";
|
||||
rev = "24e8f7bf59ec45d77c67879ad80d97e5f94c787b";
|
||||
hash = "sha256-3zFB1AMcC7eNEVA2Mx1OE8rLN9zPzexZ3FtER9wH5ss=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf
|
||||
install -m444 -Dt $out/share/fonts/opentype fonts/otf/*.otf
|
||||
install -m444 -Dt $woff2/share/fonts/woff2 fonts/webfonts/*.woff2
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Fonthausen/CrimsonPro";
|
||||
description = "A professionally produced redesign of Crimson by Jacques Le Bailly";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ncfavier ];
|
||||
};
|
||||
}
|
@ -26064,6 +26064,8 @@ with pkgs;
|
||||
|
||||
crimson = callPackage ../data/fonts/crimson {};
|
||||
|
||||
crimson-pro = callPackage ../data/fonts/crimson-pro {};
|
||||
|
||||
dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts {});
|
||||
|
||||
# solve collision for nix-env before https://github.com/NixOS/nix/pull/815
|
||||
|
Loading…
Reference in New Issue
Block a user