gqrx: add darwin support (#375406)
[NixPkgs.git] / pkgs / by-name / gl / glasstty-ttf / package.nix
bloba0d6ddeddb206644231c9f883ca6ba0c68290fb6
2   runCommand,
3   fetchurl,
4   lib,
5 }:
6 runCommand "glasstty-ttf"
7   {
8     src = fetchurl {
9       url = "https://github.com/svofski/glasstty/raw/2c47ac1a0065f8b12d9732257993833d8227e3e5/Glass_TTY_VT220.ttf";
10       sha256 = "sha256-2NYJaSWNr1Seuqdd7nLjA7tAMs/SAvl3uAe3uDoLLO4=";
11     };
12     meta = with lib; {
13       maintainers = [ maintainers.pkharvey ];
14       homepage = "https://github.com/svofski/glasstty";
15       license = licenses.unlicense;
16       platforms = platforms.all;
17       description = "TrueType VT220 font";
18     };
19   }
20   ''
21     mkdir -p $out/share/fonts/truetype
22     cp $src $out/share/fonts/truetype/Glass_TTY_VT220.ttf
23   ''