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

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

34 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2017-11-10 01:13:47 +00:00
stdenvNoCC.mkDerivation rec {
pname = "libertinus";
version = "7.040";
2017-11-10 01:13:47 +00:00
src = fetchurl {
url = "https://github.com/alerque/libertinus/releases/download/v${version}/Libertinus-${version}.tar.xz";
hash = "sha256-f+nwInItHBzGfcLCihELO7VbrjV1GWFg0kIsiTM7OFA=";
};
installPhase = ''
runHook preInstall
2017-11-10 01:13:47 +00:00
install -m644 -Dt $out/share/fonts/opentype static/OTF/*.otf
runHook postInstall
2017-11-10 01:13:47 +00:00
'';
meta = with lib; {
description = "The Libertinus font family";
2017-11-10 01:13:47 +00:00
longDescription = ''
The Libertinus font project began as a fork of the Linux Libertine and
Linux Biolinum fonts. The original impetus was to add an OpenType math
companion to the Libertine font families. Over time it grew into to a
full-fledged fork addressing many of the bugs in the Libertine fonts.
2017-11-10 01:13:47 +00:00
'';
homepage = "https://github.com/alerque/libertinus";
2017-11-10 01:13:47 +00:00
license = licenses.ofl;
maintainers = with maintainers; [ siddharthist ];
platforms = platforms.all;
};
}