mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
34 lines
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{ lib, stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "libertinus";
|
|
version = "7.040";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/alerque/libertinus/releases/download/v${version}/Libertinus-${version}.tar.xz";
|
|
hash = "sha256-f+nwInItHBzGfcLCihELO7VbrjV1GWFg0kIsiTM7OFA=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -m644 -Dt $out/share/fonts/opentype static/OTF/*.otf
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Libertinus font family";
|
|
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.
|
|
'';
|
|
homepage = "https://github.com/alerque/libertinus";
|
|
license = licenses.ofl;
|
|
maintainers = with maintainers; [ siddharthist ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|