···1+{ stdenv, fetchurl, unzip }:
2+3+stdenv.mkDerivation rec {
4+ name = "profont";
5+6+ src = fetchurl {
7+ url = "http://tobiasjung.name/downloadfile.php?file=profont-x11.zip";
8+ sha256 = "19ww5iayxzxxgixa9hgb842xd970mwghxfz2vsicp8wfwjh6pawr";
9+ };
10+11+ buildInputs = [ unzip ];
12+13+ phases = [ "unpackPhase" "installPhase" ];
14+ installPhase =
15+ ''
16+ mkdir -p $out/share/doc/$name $out/share/fonts/misc
17+18+ cp LICENSE $out/share/doc/$name/LICENSE
19+20+ for f in *.pcf; do
21+ gzip -c "$f" > $out/share/fonts/misc/"$f".gz
22+ done
23+ '';
24+25+ meta = with stdenv.lib; {
26+ homepage = http://tobiasjung.name;
27+ description = "A monospaced font created to be a most readable font for programming";
28+ maintainers = with stdenv.lib.maintainers; [ myrl ];
29+ license = licenses.mit;
30+ platforms = platforms.all;
31+ };
32+}
+1
pkgs/data/fonts/proggyfonts/default.nix
···36 description = "A set of fixed-width screen fonts that are designed for code listings";
37 license = licenses.mit;
38 platforms = platforms.all;
039 };
40}
···36 description = "A set of fixed-width screen fonts that are designed for code listings";
37 license = licenses.mit;
38 platforms = platforms.all;
39+ maintainers = [ maintainers.myrl ];
40 };
41}