input-fonts: init at 2016-10-06 (#19080)

authored by José Romildo Malaquias and committed by Franz Pletz 2763d4d4 07289a3b

+48
+46
pkgs/data/fonts/input-fonts/default.nix
··· 1 + { stdenv, requireFile, unzip }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "input-fonts-${version}"; 5 + version = "2016-10-06"; # date of the download and checksum 6 + 7 + src = requireFile { 8 + name = "Input-Font.zip"; 9 + url = "http://input.fontbureau.com/download/"; 10 + sha256 = "06hrsrb5a6hzrgkkhk0gdj92rhgr433vgn4j5g3pd8f1ijlfqn4y"; 11 + }; 12 + 13 + nativeBuildInputs = [ unzip ]; 14 + 15 + phases = [ "unpackPhase" "installPhase" ]; 16 + 17 + sourceRoot = "."; 18 + 19 + installPhase = '' 20 + mkdir -p $out/share/fonts/truetype 21 + find Input_Fonts -name "*.ttf" -exec cp -a {} "$out"/share/fonts/truetype/ \; 22 + mkdir -p "$out"/share/doc 23 + cp -a *.txt "$out"/share/doc/ 24 + ''; 25 + 26 + meta = with stdenv.lib; { 27 + description = "Fonts for Code, from Font Bureau"; 28 + longDescrition = '' 29 + Input is a font family designed for computer programming, data, 30 + and text composition. It was designed by David Jonathan Ross 31 + between 2012 and 2014 and published by The Font Bureau. It 32 + contains a wide array of styles so you can fine-tune the 33 + typography that works best in your editing environment. 34 + 35 + Input Mono is a monospaced typeface, where all characters occupy 36 + a fixed width. Input Sans and Serif are proportional typefaces 37 + that are designed with all of the features of a good monospace — 38 + generous spacing, large punctuation, and easily distinguishable 39 + characters — but without the limitations of a fixed width. 40 + ''; 41 + homepage = http://input.fontbureau.com; 42 + license = licenses.proprietary; 43 + maintainers = with maintainers; [ romildo ]; 44 + platforms = platforms.all; 45 + }; 46 + }
+2
pkgs/top-level/all-packages.nix
··· 11619 11619 inconsolata = callPackage ../data/fonts/inconsolata {}; 11620 11620 inconsolata-lgc = callPackage ../data/fonts/inconsolata/lgc.nix {}; 11621 11621 11622 + input-fonts = callPackage ../data/fonts/input-fonts { }; 11623 + 11622 11624 iosevka = callPackage ../data/fonts/iosevka { }; 11623 11625 11624 11626 ipafont = callPackage ../data/fonts/ipafont {};