2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2021-06-06 07:54:09 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "edwin";
|
|
|
|
version = "0.54";
|
2021-06-06 07:54:09 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/MuseScoreFonts/Edwin/archive/refs/tags/v${version}.tar.gz";
|
|
|
|
hash = "sha256-F6BzwnrsaELegdo6Bdju1OG+RI9zKnn4tIASR3q6zYk=";
|
|
|
|
};
|
2021-06-06 07:54:09 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2021-06-06 07:54:09 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
2023-02-02 18:25:31 +00:00
|
|
|
install *.otf $out/share/fonts/opentype
|
|
|
|
|
|
|
|
runHook postInstall
|
2021-06-06 07:54:09 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A text font for musical scores";
|
|
|
|
homepage = "https://github.com/MuseScoreFonts/Edwin";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ moni ];
|
2021-06-06 07:54:09 +00:00
|
|
|
};
|
|
|
|
}
|