forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / ma / martian-mono / package.nix
blob4cfeb61cdac5356514c70565308c753e5799f48c
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "martian-mono";
5   version = "1.0.0";
7   src = fetchzip {
8     url = "https://github.com/evilmartians/mono/releases/download/v${version}/martian-mono-${version}-otf.zip";
9     sha256 = "sha256-hC08IHWqg+x3qoEf4EL98ZbGeqdwjnMpDovEiWrWPpI=";
10     stripRoot = false;
11   };
13   dontPatch = true;
14   dontConfigure = true;
15   dontBuild = true;
16   doCheck = false;
17   dontFixup = true;
19   installPhase = ''
20     runHook preInstall
22     install -Dm644 -t $out/share/fonts/opentype/ *.otf
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Free and open-source monospaced font from Evil Martians";
29     homepage = "https://github.com/evilmartians/mono";
30     changelog = "https://github.com/evilmartians/mono/raw/v${version}/Changelog.md";
31     license = licenses.ofl;
32     maintainers = [ ];
33     platforms = platforms.all;
34   };