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