2023-02-02 18:25:31 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
|
pname = "undefined-medium";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
version = "1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
|
src = fetchzip {
|
2024-04-21 15:54:59 +00:00
|
|
|
|
url = "https://github.com/andirueckel/undefined-medium/archive/v1.2.zip";
|
|
|
|
|
hash = "sha256-hgHwi25T+aM7ljzk5uR4x+CqoRJ3/IOyktdp/mDW46I=";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
|
|
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
|
}
|