2015-11-29 21:17:14 +00:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2014-12-07 23:10:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.92";
|
|
|
|
name = "dina-font-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.donationcoder.com/Software/Jibz/Dina/downloads/Dina.zip";
|
|
|
|
sha256 = "1kq86lbxxgik82aywwhawmj80vsbz3hfhdyhicnlv9km7yjvnl8z";
|
|
|
|
};
|
|
|
|
|
2015-11-29 21:17:14 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
2014-12-07 23:10:18 +00:00
|
|
|
|
2015-11-29 21:17:14 +00:00
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
cp *.bdf $out/share/fonts
|
2014-12-07 23:10:18 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-04-28 09:54:58 +01: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 ];
|
2015-06-05 10:04:06 +01:00
|
|
|
platforms = platforms.unix;
|
2014-12-07 23:10:18 +00:00
|
|
|
};
|
|
|
|
}
|