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 Normal View History

{ lib, stdenvNoCC, fetchurl }:
2021-05-31 16:51:48 +03:00
stdenvNoCC.mkDerivation rec {
pname = "edwin";
2023-02-02 16:37:48 +03:00
version = "0.54";
2021-05-31 16:51:48 +03:00
src = fetchurl {
url = "https://github.com/MuseScoreFonts/Edwin/archive/refs/tags/v${version}.tar.gz";
2023-02-02 16:37:48 +03:00
hash = "sha256-F6BzwnrsaELegdo6Bdju1OG+RI9zKnn4tIASR3q6zYk=";
};
2021-05-31 16:51:48 +03:00
installPhase = ''
runHook preInstall
2021-05-31 16:51:48 +03:00
mkdir -p $out/share/fonts/opentype
install *.otf $out/share/fonts/opentype
runHook postInstall
2021-05-31 16:51:48 +03: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 ];
};
}