nixpkgs/pkgs/data/fonts/undefined-medium/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

32 lines
842 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "undefined-medium";
version = "1.3";
src = fetchzip {
url = "https://github.com/andirueckel/undefined-medium/archive/v1.3.zip";
hash = "sha256-cVdk6a0xijAQ/18W5jalqRS7IiPufMJW27Scns+nbEY=";
};
installPhase = ''
runHook preInstall
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
runHook postInstall
'';
meta = with lib; {
homepage = "https://undefined-medium.com/";
description = "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;
};
}