Merge pull request #125091 from fortuneteller2k/edwin
This commit is contained in:
commit
2b7ab52ae1
29
pkgs/data/fonts/edwin/default.nix
Normal file
29
pkgs/data/fonts/edwin/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -411,6 +411,8 @@ in
|
|||
|
||||
ebook2cw = callPackage ../applications/radio/ebook2cw { };
|
||||
|
||||
edwin = callPackage ../data/fonts/edwin { };
|
||||
|
||||
etBook = callPackage ../data/fonts/et-book { };
|
||||
|
||||
fetchutils = callPackage ../tools/misc/fetchutils { };
|
||||
|
|
Loading…
Reference in New Issue
Block a user