mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
miracode: init at 1.0
This commit is contained in:
parent
2303de0b4b
commit
7db4467e36
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