Merge pull request #311743 from Coca162/miracode-1.0
miracode: init at 1.0
This commit is contained in:
commit
85786b9e25
|
@ -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";
|
||||
|
|
32
pkgs/by-name/mi/miracode/package.nix
Normal file
32
pkgs/by-name/mi/miracode/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user