nixpkgs/pkgs/data/fonts/dina/default.nix

31 lines
947 B
Nix
Raw Normal View History

2017-08-10 19:43:49 +00:00
{ stdenv, fetchzip }:
2014-12-07 23:10:18 +00:00
2017-08-10 19:43:49 +00:00
let
2014-12-07 23:10:18 +00:00
version = "2.92";
2017-08-10 19:43:49 +00:00
in fetchzip rec {
2014-12-07 23:10:18 +00:00
name = "dina-font-${version}";
2017-08-10 19:43:49 +00:00
url = "http://www.donationcoder.com/Software/Jibz/Dina/downloads/Dina.zip";
2014-12-07 23:10:18 +00:00
2017-08-10 19:43:49 +00:00
postFetch = ''
mkdir -p $out/share/fonts
2017-08-10 19:43:49 +00:00
unzip -j $downloadedFile \*.bdf -d $out/share/fonts
2014-12-07 23:10:18 +00:00
'';
2017-08-10 19:43:49 +00:00
sha256 = "02a6hqbq18sw69npylfskriqhvj1nsk65hjjyd05nl913ycc6jl7";
2014-12-07 23:10:18 +00:00
meta = with stdenv.lib; {
2015-04-28 08:54:58 +00:00
description = "A monospace bitmap font aimed at programmers";
2014-12-07 23:10:18 +00:00
longDescription = ''
Dina is a monospace bitmap font, primarily aimed at programmers. It is
relatively compact to allow a lot of code on screen, while (hopefully)
clear enough to remain readable even at high resolutions.
'';
homepage = https://www.donationcoder.com/Software/Jibz/Dina/;
downloadPage = https://www.donationcoder.com/Software/Jibz/Dina/;
license = licenses.free;
maintainers = [ maintainers.prikhi ];
platforms = platforms.unix;
2014-12-07 23:10:18 +00:00
};
}