otf2bdf: init at 3.1

otf2bdf is a font conversion program taking scalable fonts and
generating a commonly used bitmap font format, "bdf".

Signed-off-by: Henner Zeller <h.zeller@acm.org>

+38
+36
pkgs/applications/misc/otf2bdf/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , freetype 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "otf2bdf"; 9 + version = "3.1"; 10 + 11 + # Original site http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/ unreachable, 12 + # This is a mirror. 13 + src = fetchFromGitHub { 14 + owner = "jirutka"; 15 + repo = "otf2bdf"; 16 + rev = "v${version}"; 17 + hash = "sha256-HK9ZrnwKhhYcBvSl+3RwFD7m/WSaPkGKX6utXnk5k+A="; 18 + }; 19 + 20 + buildInputs = [ freetype ]; 21 + 22 + installPhase = '' 23 + mkdir -p $out/bin $out/share/man/man1 24 + install otf2bdf $out/bin 25 + cp otf2bdf.man $out/share/man/man1/otf2bdf.1 26 + ''; 27 + 28 + meta = with lib; { 29 + #homepage = "http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/"; # timeout 30 + homepage = "https://github.com/jirutka/otf2bdf"; 31 + description = "OpenType to BDF font converter"; 32 + license = licenses.mit0; 33 + platforms = platforms.all; 34 + maintainers = with maintainers; [ hzeller ]; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 5542 5543 osv-scanner = callPackage ../tools/security/osv-scanner { }; 5544 5545 pastel = callPackage ../applications/misc/pastel { 5546 inherit (darwin.apple_sdk.frameworks) Security; 5547 };
··· 5542 5543 osv-scanner = callPackage ../tools/security/osv-scanner { }; 5544 5545 + otf2bdf = callPackage ../applications/misc/otf2bdf { }; 5546 + 5547 pastel = callPackage ../applications/misc/pastel { 5548 inherit (darwin.apple_sdk.frameworks) Security; 5549 };