a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
31 lines
844 B
Nix
31 lines
844 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
||
|
||
stdenvNoCC.mkDerivation rec {
|
||
pname = "undefined-medium";
|
||
version = "1.1";
|
||
|
||
src = fetchzip {
|
||
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
|
||
'';
|
||
|
||
meta = with 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;
|
||
platforms = platforms.all;
|
||
};
|
||
}
|