From 91744fc76f5f3c2fd7d003f2385ba64031fb7e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac-Jacqu=C3=A9?= Date: Thu, 15 Feb 2018 12:36:21 +0100 Subject: [PATCH] fixedsys-excelsior: init at 3.00. --- lib/maintainers.nix | 1 + .../data/fonts/fixedsys-excelsior/default.nix | 38 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 41 insertions(+) create mode 100644 pkgs/data/fonts/fixedsys-excelsior/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 3c26926afd73..eb5bec505b08 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -494,6 +494,7 @@ nicknovitski = "Nick Novitski "; nico202 = "Nicolò Balzarotti "; NikolaMandic = "Ratko Mladic "; + ninjatrappeur = "Félix Baylac-Jacqué "; nipav = "Niko Pavlinek "; nixy = "Andrew R. M. "; nmattia = "Nicolas Mattia "; diff --git a/pkgs/data/fonts/fixedsys-excelsior/default.nix b/pkgs/data/fonts/fixedsys-excelsior/default.nix new file mode 100644 index 000000000000..b0c481dfcb5c --- /dev/null +++ b/pkgs/data/fonts/fixedsys-excelsior/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl } : + +let + major = "3"; + minor = "00"; + version = "${major}.${minor}"; + +in + +stdenv.mkDerivation rec { + name = "fixedsys-excelsior-${version}"; + + src = fetchurl { + url = http://www.fixedsysexcelsior.com/fonts/FSEX300.ttf; + sha256 = "6ee0f3573bc5e33e93b616ef6282f49bc0e227a31aa753ac76ed2e3f3d02056d"; + }; + + phases = [ "installPhase" ]; + + installPhase = '' + mkdir -p $out/share/fonts/truetype/ + cp $src $out/share/fonts/truetype/${name}.ttf + ''; + + outputHashMode = "recursive"; + + outputHashAlgo = "sha256"; + + outputHash = "32d6f07f1ff08c764357f8478892b2ba5ade23427af99759f34a0ba24bcd2e37"; + + meta = { + description = "Pan-unicode version of Fixedsys, a classic DOS font."; + homepage = http://www.fixedsysexcelsior.com/; + platforms = stdenv.lib.platforms.all; + license = stdenv.lib.licenses.publicDomain; + maintainers = [ stdenv.lib.maintainers.ninjatrappeur ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 254e20b2563e..e219bc18aff5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13842,6 +13842,8 @@ with pkgs; faba-mono-icons = callPackage ../data/icons/faba-mono-icons { }; + fixedsys-excelsior = callPackage ../data/fonts/fixedsys-excelsior { }; + emacs-all-the-icons-fonts = callPackage ../data/fonts/emacs-all-the-icons-fonts { }; emojione = callPackage ../data/fonts/emojione {