3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/undefined-medium/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
844 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2019-02-21 22:16:07 +00:00
stdenvNoCC.mkDerivation rec {
pname = "undefined-medium";
2023-01-31 03:13:01 +00:00
version = "1.1";
2019-02-21 22:16:07 +00:00
src = fetchzip {
2023-01-31 03:13:01 +00:00
url = "https://github.com/andirueckel/undefined-medium/archive/v1.1.zip";
hash = "sha256-iquxt7lo92y4AQZf23Ij5Qzg2U7buL3kGLksQSR6vac=";
};
installPhase = ''
runHook preInstall
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
runHook postInstall
'';
2019-02-21 22:16:07 +00:00
meta = with lib; {
homepage = "https://undefined-medium.com/";
2019-02-21 22:16:07 +00:00
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;
platforms = platforms.all;
};
}