2023-01-28 06:27:25 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2019-02-21 22:16:07 +00:00
|
|
|
|
|
2023-01-28 06:27:25 +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
|
|
|
|
|
2023-01-28 06:27:25 +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=";
|
2023-01-28 06:27:25 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
|
|
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
2019-02-21 22:16:07 +00:00
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
|
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 … it’s pretty undefined.
|
|
|
|
|
'';
|
|
|
|
|
license = licenses.ofl;
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
};
|
2023-01-28 06:27:25 +00:00
|
|
|
|
}
|