Merge pull request #292990 from W-Y-R/catamaran/2024-03-02

catamaran: init at 0-unstable-2024-03-02
This commit is contained in:
h7x4 2024-06-16 02:44:12 +02:00 committed by GitHub
commit 7cd1389de0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,43 @@
{
stdenvNoCC,
lib,
fetchzip,
}:
stdenvNoCC.mkDerivation rec {
pname = "catamaran";
version = "0-unstable-2024-03-02";
src = fetchzip {
url = "https://www.1001fonts.com/download/catamaran.zip";
stripRoot = false;
hash = "sha256-9s11lZSS4pYJZwl8Uk7qtdwfZ2bkoZkSIf1MkQlv7H4=";
};
stripRoot = false;
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
mv *.ttf $out/share/fonts/truetype/
runHook postInstall
'';
meta = with lib; {
homepage = "https://fonts.google.com/specimen/Catamaran";
description = "A stylish sans-serif Tamil and Latin typeface";
longDescription = ''
Catamaran is a Unicode-compliant Latin and Tamil text type family designed for the digital age.
The Tamil is monolinear and was designed alongside the sans serif Latin and Devanagari family Palanquin.
It currently comprises of 9 text weights, making it a versatile family that strikes a balance between typographic conventions and that bit of sparkle.
(A catamaran is a multihulled vessel consisting of two parallel hulls of equal size.
The catamaran concept is a relative newcomer for Western boat designers, been used since time immemorial among the Dravidian people, in South India.)
'';
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [wyred50];
};
}