3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #193637 from marsam/init-martian-mono

martian-mono: init at 0.9.1
This commit is contained in:
Mario Rodas 2022-11-20 14:23:52 -05:00 committed by GitHub
commit d5c74abf8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "martian-mono";
version = "0.9.2";
src = fetchzip {
url = "https://github.com/evilmartians/mono/releases/download/v${version}/martian-mono-${version}-otf.zip";
sha256 = "sha256-whIR7BaEflm/VsF60Xck6ZJDLzTugaTOogHzcEtwCsM=";
stripRoot = false;
};
dontPatch = true;
dontConfigure = true;
dontBuild = true;
doCheck = false;
dontFixup = true;
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/opentype/ *.otf
runHook postInstall
'';
meta = with lib; {
description = "Free and open-source monospaced font from Evil Martians";
homepage = "https://github.com/evilmartians/mono";
changelog = "https://github.com/evilmartians/mono/raw/v${version}/Changelog.md";
license = licenses.ofl;
maintainers = [ maintainers.marsam ];
platforms = platforms.all;
};
}

View file

@ -26605,6 +26605,8 @@ with pkgs;
manrope = callPackage ../data/fonts/manrope { };
martian-mono = callPackage ../data/fonts/martian-mono { };
marwaita = callPackage ../data/themes/marwaita { };
marwaita-manjaro = callPackage ../data/themes/marwaita-manjaro { };