mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
28 lines
811 B
Nix
28 lines
811 B
Nix
{ lib, 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 = "1wa04jzbffshwcxm705yb5wja8wakn8j7fvim1mlih2z1sqw0njk";
|
||
|
||
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;
|
||
maintainers = [ maintainers.rycee ];
|
||
platforms = platforms.all;
|
||
};
|
||
}
|