monocraft: init at 1.2
This commit is contained in:
parent
5857574d45
commit
6f8b576c51
30
pkgs/data/fonts/monocraft/default.nix
Normal file
30
pkgs/data/fonts/monocraft/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "monocraft";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IdreesInc";
|
||||
repo = "Monocraft";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-frg7LcMv6zWPWxkr6RIl01fC68THELbb45mJVqefXC0=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm644 -t $out/share/fonts/opentype *.otf
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A programming font based on the typeface used in Minecraft";
|
||||
homepage = "https://github.com/IdreesInc/Monocraft";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ zhaofengli ];
|
||||
};
|
||||
}
|
|
@ -8726,6 +8726,8 @@ with pkgs;
|
|||
|
||||
monit = callPackage ../tools/system/monit { };
|
||||
|
||||
monocraft = callPackage ../data/fonts/monocraft { };
|
||||
|
||||
monolith = callPackage ../tools/backup/monolith {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue