Files
nixpkgs/pkgs/by-name/li/libertinus/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
1.1 KiB
Nix

{
lib,
stdenvNoCC,
fetchurl,
zstd,
}:
stdenvNoCC.mkDerivation rec {
pname = "libertinus";
version = "7.051";
src = fetchurl {
url = "https://github.com/alerque/libertinus/releases/download/v${version}/Libertinus-${version}.tar.zst";
hash = "sha256-JQZ3ySnTd1owkTZDWUN5ryZKwu8oAQNaody+MLm+I6Y=";
};
nativeBuildInputs = [ zstd ];
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;
};
}