nixpkgs-suyu/pkgs/data/fonts/profont/default.nix
volth c9eb44eab3 data/fonts: cleanup
* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
2019-05-13 06:03:31 +00:00

29 lines
744 B
Nix

{ lib, fetchzip }:
fetchzip rec {
name = "profont";
url = "http://web.archive.org/web/20160707013914/http://tobiasjung.name/downloadfile.php?file=profont-x11.zip";
postFetch = ''
unzip -j $downloadedFile
mkdir -p $out/share/doc/$name $out/share/fonts/misc
cp LICENSE $out/share/doc/$name/LICENSE
for f in *.pcf; do
gzip -c "$f" > $out/share/fonts/misc/"$f".gz
done
'';
sha256 = "1calqmvrfv068w61f614la8mg8szas6m5i9s0lsmwjhb4qwjyxbw";
meta = with lib; {
homepage = http://tobiasjung.name;
description = "A monospaced font created to be a most readable font for programming";
maintainers = with lib.maintainers; [ myrl ];
license = licenses.mit;
platforms = platforms.all;
};
}