mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
gohufont: init at 2.0
Removed unecessary deps
This commit is contained in:
parent
9a3a70ed2b
commit
26cac935b5
29
pkgs/data/fonts/gohufont/default.nix
Normal file
29
pkgs/data/fonts/gohufont/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchurl, mkfontdir, mkfontscale }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gohufont-2.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://font.gohu.org/gohufont-2.0.tar.gz";
|
||||||
|
sha256 = "0vi87fvj3m52piz2k6vqday03cah6zvz3dzrvjch3qjna1i1nb7s";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mkfontdir mkfontscale ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
fontDir="$out/share/fonts/misc"
|
||||||
|
mkdir -p "$fontDir"
|
||||||
|
mv *.pcf.gz "$fontDir"
|
||||||
|
cd "$fontDir"
|
||||||
|
mkfontdir
|
||||||
|
mkfontscale
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A monospace bitmap font well suited for programming and terminal use";
|
||||||
|
homepage = http://font.gohu.org/;
|
||||||
|
license = licenses.wtfpl;
|
||||||
|
maintainers = with maintainers; [ epitrochoid ];
|
||||||
|
platforms = with platforms; linux;
|
||||||
|
};
|
||||||
|
}
|
@ -10493,6 +10493,8 @@ let
|
|||||||
|
|
||||||
geolite-legacy = callPackage ../data/misc/geolite-legacy { };
|
geolite-legacy = callPackage ../data/misc/geolite-legacy { };
|
||||||
|
|
||||||
|
gohufont = callPackage ../data/fonts/gohufont { };
|
||||||
|
|
||||||
gnome_user_docs = callPackage ../data/documentation/gnome-user-docs { };
|
gnome_user_docs = callPackage ../data/documentation/gnome-user-docs { };
|
||||||
|
|
||||||
inherit (gnome3) gsettings_desktop_schemas;
|
inherit (gnome3) gsettings_desktop_schemas;
|
||||||
|
Loading…
Reference in New Issue
Block a user