edwin: init at 0.52

This commit is contained in:
fortuneteller2k 2021-05-31 21:51:48 +08:00
parent 829b074ee0
commit ae0a3fb42c
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, fetchurl }:
let
version = "0.52";
in fetchurl {
name = "edwin-${version}";
url = "https://github.com/MuseScoreFonts/Edwin/archive/refs/tags/v${version}.tar.gz";
downloadToTemp = true;
recursiveHash = true;
sha256 = "sha256-e0ADK72ECl+QMvLWtFJfeHBmuEwzr9M+Kqvkd5Z2mmo=";
postFetch = ''
tar xzf $downloadedFile
mkdir -p $out/share/fonts/opentype
install Edwin-${version}/*.otf $out/share/fonts/opentype
'';
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 ];
};
}

View file

@ -409,6 +409,8 @@ in
ebook2cw = callPackage ../applications/radio/ebook2cw { };
edwin = callPackage ../data/fonts/edwin { };
etBook = callPackage ../data/fonts/et-book { };
fetchutils = callPackage ../tools/misc/fetchutils { };