forked from mirrors/nixpkgs
Merge pull request #111569 from fortuneteller2k/add-scientifica-font
This commit is contained in:
commit
45b2a656fa
|
@ -3159,6 +3159,12 @@
|
|||
githubId = 92793;
|
||||
name = "Friedrich von Never";
|
||||
};
|
||||
fortuneteller2k = {
|
||||
email = "lythe1107@gmail.com";
|
||||
github = "fortuneteller2k";
|
||||
githubId = 20619776;
|
||||
name = "fortuneteller2k";
|
||||
};
|
||||
fpletz = {
|
||||
email = "fpletz@fnordicwalking.de";
|
||||
github = "fpletz";
|
||||
|
|
32
pkgs/data/fonts/scientifica/default.nix
Normal file
32
pkgs/data/fonts/scientifica/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, fetchurl }:
|
||||
|
||||
let
|
||||
version = "2.1";
|
||||
in fetchurl rec {
|
||||
name = "scientifica-${version}";
|
||||
|
||||
url = "https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica-v${version}.tar";
|
||||
|
||||
downloadToTemp = true;
|
||||
|
||||
recursiveHash = true;
|
||||
|
||||
sha256 = "081faa48d6g86pacmgjqa96in72rjldavnwxq6bdq2br33h3qwrz";
|
||||
|
||||
postFetch = ''
|
||||
tar xvf $downloadedFile
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/fonts/misc
|
||||
cp scientifica/ttf/*.ttf $out/share/fonts/truetype
|
||||
cp scientifica/otb/*.otb $out/share/fonts/misc
|
||||
cp scientifica/bdf/*.bdf $out/share/fonts/misc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tall and condensed bitmap font for geeks";
|
||||
homepage = "https://github.com/NerdyPepper/scientifica";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ fortuneteller2k ];
|
||||
};
|
||||
}
|
|
@ -20764,6 +20764,8 @@ in
|
|||
inter-ui = callPackage ../data/fonts/inter-ui { };
|
||||
inter = callPackage ../data/fonts/inter { };
|
||||
|
||||
scientifica = callPackage ../data/fonts/scientifica { };
|
||||
|
||||
siji = callPackage ../data/fonts/siji
|
||||
{ inherit (buildPackages.xorg) mkfontscale fonttosfnt; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue