Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 690 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "edwin"; 9 version = "0.54"; 10 11 src = fetchurl { 12 url = "https://github.com/MuseScoreFonts/Edwin/archive/refs/tags/v${version}.tar.gz"; 13 hash = "sha256-F6BzwnrsaELegdo6Bdju1OG+RI9zKnn4tIASR3q6zYk="; 14 }; 15 16 installPhase = '' 17 runHook preInstall 18 19 mkdir -p $out/share/fonts/opentype 20 install *.otf $out/share/fonts/opentype 21 22 runHook postInstall 23 ''; 24 25 meta = with lib; { 26 description = "Text font for musical scores"; 27 homepage = "https://github.com/MuseScoreFonts/Edwin"; 28 license = licenses.ofl; 29 platforms = platforms.all; 30 maintainers = with maintainers; [ moni ]; 31 }; 32}