Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 969cff2691a0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 06a81825b7bf
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Feb 21, 2019

  1. undefined-medium: init at 1.0

    rycee committed Feb 21, 2019
    Copy the full SHA
    14f653b View commit details
  2. Merge pull request #56169 from rycee/font/undefined-medium

    undefined-medium: init at 1.0
    rycee authored Feb 21, 2019
    Copy the full SHA
    06a8182 View commit details
Showing with 29 additions and 0 deletions.
  1. +27 −0 pkgs/data/fonts/undefined-medium/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
27 changes: 27 additions & 0 deletions pkgs/data/fonts/undefined-medium/default.nix
Original file line number Diff line number Diff line change
@@ -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 … it’s pretty undefined.
'';
license = licenses.ofl;
maintainers = [ maintainers.rycee ];
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };