beedii: init at 1.0.0 (#349097)

This commit is contained in:
Aleksana 2024-12-06 09:38:08 +08:00 committed by GitHub
commit 5eafabf8db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,37 @@
{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation rec {
pname = "beedii";
# 1.2.0 does not include font files.
# https://github.com/webkul/beedii/issues/1
version = "1.0.0";
src = fetchzip {
url = "https://github.com/webkul/beedii/releases/download/v${version}/beedii.zip";
hash = "sha256-MefkmWl7LdhQiePpixKcatoIeOTlrRaO3QA9xWAxJ4Q=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -Dm444 Fonts/*.ttf -t $out/share/fonts/truetype/${pname}
runHook postInstall
'';
meta = {
description = "Free Hand Drawn Emoji Font";
homepage = "https://github.com/webkul/beedii";
license = lib.licenses.cc0;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
kachick
];
};
}