Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 31 lines 842 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "undefined-medium"; 5 version = "1.3"; 6 7 src = fetchzip { 8 url = "https://github.com/andirueckel/undefined-medium/archive/v1.3.zip"; 9 hash = "sha256-cVdk6a0xijAQ/18W5jalqRS7IiPufMJW27Scns+nbEY="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype 16 17 runHook postInstall 18 ''; 19 20 meta = with lib; { 21 homepage = "https://undefined-medium.com/"; 22 description = "Pixel grid-based monospace typeface"; 23 longDescription = '' 24 undefined medium is a free and open-source pixel grid-based 25 monospace typeface suitable for programming, writing, and 26 whatever else you can think of its pretty undefined. 27 ''; 28 license = licenses.ofl; 29 platforms = platforms.all; 30 }; 31}