Merge pull request #311743 from Coca162/miracode-1.0

miracode: init at 1.0
This commit is contained in:
Aleksana 2024-05-17 11:17:54 +08:00 committed by GitHub
commit 85786b9e25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

View File

@ -3864,6 +3864,14 @@
githubId = 180339;
name = "Andrew Cobb";
};
coca = {
github = "Coca162";
githubId = 62479942;
name = "Coca";
keys = [{
fingerprint = "99CB 86FF 62BB 7DA4 8903 B16D 0328 2DF8 8179 AB19";
}];
};
coconnor = {
email = "coreyoconnor@gmail.com";
github = "coreyoconnor";

View File

@ -0,0 +1,32 @@
{ stdenvNoCC, lib, fetchurl }:
let
version = "1.0";
in
stdenvNoCC.mkDerivation {
pname = "miracode";
inherit version;
src = fetchurl {
url = "https://github.com/IdreesInc/Miracode/releases/download/v${version}/Miracode.ttf";
hash = "sha256-Q+/D/TPlqOt779qYS/dF7ahEd3Mm4a4G+wdHB+Gutmo=";
};
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm644 $src $out/share/fonts/truetype/Miracode.ttf
runHook postInstall
'';
meta = with lib; {
description = "A sharp, readable, vector-y version of Monocraft";
homepage = "https://github.com/IdreesInc/Miracode";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ coca ];
};
}