2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "libertinus";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "7.040";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +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
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
install -m644 -Dt $out/share/fonts/opentype static/OTF/*.otf
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-08-22 07:53:02 +00:00
|
|
|
description = "The Libertinus font family";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
2021-08-22 07:53:02 +00:00
|
|
|
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.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2021-08-22 07:53:02 +00:00
|
|
|
homepage = "https://github.com/alerque/libertinus";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ siddharthist ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|