profont: init
This commit is contained in:
parent
21d6e4beba
commit
c73d14a39f
@ -243,6 +243,7 @@
|
||||
mtreskin = "Max Treskin <zerthurd@gmail.com>";
|
||||
mudri = "James Wood <lamudri@gmail.com>";
|
||||
muflax = "Stefan Dorn <mail@muflax.com>";
|
||||
myrl = "Myrl Hex <myrl.0xf@gmail.com>";
|
||||
nathan-gs = "Nathan Bijnens <nathan@nathan.gs>";
|
||||
nckx = "Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>";
|
||||
nequissimus = "Tim Steinbach <tim@nequissimus.com>";
|
||||
|
32
pkgs/data/fonts/profont/default.nix
Normal file
32
pkgs/data/fonts/profont/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "profont";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tobiasjung.name/downloadfile.php?file=profont-x11.zip";
|
||||
sha256 = "19ww5iayxzxxgixa9hgb842xd970mwghxfz2vsicp8wfwjh6pawr";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
installPhase =
|
||||
''
|
||||
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
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://tobiasjung.name;
|
||||
description = "A monospaced font created to be a most readable font for programming";
|
||||
maintainers = with stdenv.lib.maintainers; [ myrl ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -36,5 +36,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A set of fixed-width screen fonts that are designed for code listings";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.myrl ];
|
||||
};
|
||||
}
|
||||
|
@ -11408,6 +11408,8 @@ in
|
||||
|
||||
powerline-fonts = callPackage ../data/fonts/powerline-fonts { };
|
||||
|
||||
profont = callPackage ../data/fonts/profont { };
|
||||
|
||||
proggyfonts = callPackage ../data/fonts/proggyfonts { };
|
||||
|
||||
sampradaya = callPackage ../data/fonts/sampradaya { };
|
||||
|
Loading…
Reference in New Issue
Block a user