3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/edwin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
696 B
Nix
Raw Permalink Normal View History

{ lib, stdenvNoCC, fetchurl }:
2021-05-31 14:51:48 +01: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
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=";
};
2021-05-31 14:51:48 +01:00
installPhase = ''
runHook preInstall
2021-05-31 14:51:48 +01:00
mkdir -p $out/share/fonts/opentype
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 ];
};
}