mirror of
https://github.com/msfjarvis/custom-nixpkgs.git
synced 2024-06-02 19:58:10 +05:30
pkgs: add monocraft-nerdfonts
This commit is contained in:
parent
f29a2c4f1f
commit
fabcd17a1a
|
@ -18,6 +18,7 @@ Included packages:
|
|||
- [hyperlink]: Very fast link checker for CI
|
||||
- [katbin] : A CLI for [katb.in]
|
||||
- [linkleaner] : Telegram bot to fix social media link previews
|
||||
- [monocraft-nerdfonts] : A monospaced programming font inspired by the Minecraft typeface
|
||||
- [pidcat] : Fork of [JakeWharton's pidcat] with Python3 support and some other fixes
|
||||
- [topgrade] : The original [topgrade] package from before it was forked by the community and started dwindling in quality
|
||||
- [twt] : Multipurpose tool to extract metadata from a user's tweets
|
||||
|
@ -40,6 +41,7 @@ Included packages:
|
|||
[katbin]: https://github.com/SphericalKat/katbin-cli
|
||||
[katb.in]: https://katb.in
|
||||
[linkleaner]: https://msfjarvis.dev/g/linkleaner
|
||||
[monocraft-nerdfonts]: https://github.com/IdreesInc/Monocraft
|
||||
[pidcat]: https://msfjarvis.dev/g/pidcat
|
||||
[JakeWharton's pidcat]: https://github.com/JakeWharton/pidcat
|
||||
[topgrade]: https://github.com/r-darwish/topgrade
|
||||
|
|
|
@ -15,6 +15,7 @@ in {
|
|||
hyperlink = callPackage ./hyperlink {inherit pkgs;};
|
||||
katbin = callPackage ./katbin {inherit pkgs;};
|
||||
linkleaner = callPackage ./linkleaner {inherit pkgs;};
|
||||
monocraft-nerdfonts = callPackage ./monocraft-nerdfonts {inherit pkgs;};
|
||||
pidcat = callPackage ./pidcat {inherit pkgs;};
|
||||
topgrade-og = callPackage ./topgrade-og {inherit pkgs;};
|
||||
twt = callPackage ./twt {inherit pkgs;};
|
||||
|
|
27
pkgs/monocraft-nerdfonts/default.nix
Normal file
27
pkgs/monocraft-nerdfonts/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
}:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "monocraft-nerdfonts";
|
||||
version = "2.4";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/IdreesInc/Monocraft/releases/download/v${version}/Monocraft-nerd-fonts-patched.ttf";
|
||||
sha256 = "sha256-QxMp8UwcRjWySNHWoNeX2sX9teZ4+tCFj+DG41azsXw=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype/
|
||||
cat $src > $out/share/fonts/truetype/Monocraft-nerdfonts.ttf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A monospaced programming font inspired by the Minecraft typeface";
|
||||
homepage = "https://github.com/IdreesInc/Monocraft";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user