nixpkgs/pkgs/data/fonts/manrope/default.nix

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

37 lines
901 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
2019-03-25 15:37:30 +03:00
stdenvNoCC.mkDerivation rec {
2019-03-25 15:37:30 +03:00
pname = "manrope";
2023-04-01 07:20:00 +03:00
version = "4.505";
src = fetchFromGitHub {
owner = "sharanda";
repo = pname;
2023-04-01 07:20:00 +03:00
rev = "d79b66b10608610692d59f4107791d249d244416"; # no tags in repo
hash = "sha256-dxnCOkPUEG0knSekolx2+SGJR81vRK0wUrbzGH4KGD0=";
};
2023-04-01 07:20:00 +03:00
dontPatch = true;
dontConfigure = true;
dontBuild = true;
doCheck = false;
dontFixup = true;
installPhase = ''
runHook preInstall
2023-04-01 07:20:00 +03:00
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
install -Dm644 fonts/ttf/*.ttf fonts/variable/*.ttf -t $out/share/fonts/truetype
runHook postInstall
2019-03-25 15:37:30 +03:00
'';
meta = with lib; {
2019-03-25 15:37:30 +03:00
description = "Open-source modern sans-serif font family";
2023-04-01 07:20:00 +03:00
homepage = "https://www.gent.media/manrope";
2019-03-25 15:37:30 +03:00
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ dtzWill ];
};
}