mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
771 B
Nix
33 lines
771 B
Nix
{ 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 = "Sharp, readable, vector-y version of Monocraft";
|
|
homepage = "https://github.com/IdreesInc/Miracode";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ coca ];
|
|
};
|
|
}
|