libertinus: 6.9 -> 7.040 (#132297)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Waldir Pimenta 2021-08-21 13:52:10 +01:00 committed by GitHub
parent 527ecb34be
commit d34322fe83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,29 +1,29 @@
{ lib, fetchFromGitHub }: { lib, fetchurl }:
let let
version = "6.9"; version = "7.040";
in fetchFromGitHub rec { in fetchurl rec {
name = "libertinus-${version}"; name = "libertinus-${version}";
url = "https://github.com/alerque/libertinus/releases/download/v${version}/Libertinus-${version}.tar.xz";
sha256 = "0z658r88p52dyrcslv0wlccw0sw7m5jz8nbqizv95nf7bfw96iyk";
owner = "alif-type"; downloadToTemp = true;
repo = "libertinus"; recursiveHash = true;
rev = "v${version}";
postFetch = '' postFetch = ''
tar xf $downloadedFile --strip=1 tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/opentype *.otf install -m644 -Dt $out/share/fonts/opentype static/OTF/*.otf
install -m444 -Dt $out/share/doc/${name} *.txt
''; '';
sha256 = "0765a7w0askkhrjmjk638gcm9h6fcm1jpaza8iw9afr3sz1s0xlq";
meta = with lib; { meta = with lib; {
description = "A fork of the Linux Libertine and Linux Biolinum fonts"; description = "The Libertinus font family";
longDescription = '' longDescription = ''
Libertinus fonts is a fork of the Linux Libertine and Linux Biolinum fonts The Libertinus font project began as a fork of the Linux Libertine and
that started as an OpenType math companion of the Libertine font family, Linux Biolinum fonts. The original impetus was to add an OpenType math
but grown as a full fork to address some of the bugs in the fonts. 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/alif-type/libertinus"; homepage = "https://github.com/alerque/libertinus";
license = licenses.ofl; license = licenses.ofl;
maintainers = with maintainers; [ siddharthist ]; maintainers = with maintainers; [ siddharthist ];
platforms = platforms.all; platforms = platforms.all;