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