blob: bf5b887cc7713df2b7a513d7ca3395789d5c0468 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, fetchurl }:
let
version = "2.3";
in fetchurl rec {
name = "scientifica-${version}";
url = "https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica.tar";
downloadToTemp = true;
recursiveHash = true;
sha256 = "sha256-pVWkj/2lFpmWk0PPDrIMU4Gey7/m/9tzUsuD3ZDUAdc=";
postFetch = ''
tar xf $downloadedFile
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/fonts/misc
install scientifica/ttf/*.ttf $out/share/fonts/truetype
install scientifica/otb/*.otb $out/share/fonts/misc
install 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 ];
};
}
|