Merge pull request #56169 from rycee/font/undefined-medium

undefined-medium: init at 1.0
This commit is contained in:
Robert Helgesson 2019-02-21 23:47:00 +01:00 committed by GitHub
commit 06a81825b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchzip }:
fetchzip rec {
name = "undefined-medium-1.0";
url = https://github.com/andirueckel/undefined-medium/archive/v1.0.zip;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile ${name}/fonts/otf/\*.otf -d $out/share/fonts/opentype
'';
sha256 = "0v3p1g9f1c0d6b9lhrvm1grzivm7ddk7dvn96zl5hdzr2y60y1rw";
meta = with stdenv.lib; {
homepage = https://undefined-medium.com/;
description = "A pixel grid-based monospace typeface";
longDescription = ''
undefined medium is a free and open-source pixel grid-based
monospace typeface suitable for programming, writing, and
whatever else you can think of its pretty undefined.
'';
license = licenses.ofl;
maintainers = [ maintainers.rycee ];
platforms = platforms.all;
};
}

View File

@ -15944,6 +15944,8 @@ in
ultimate-oldschool-pc-font-pack = callPackage ../data/fonts/ultimate-oldschool-pc-font-pack { };
undefined-medium = callPackage ../data/fonts/undefined-medium { };
uni-vga = callPackage ../data/fonts/uni-vga { };
unifont = callPackage ../data/fonts/unifont { };