fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / mi / miracode / package.nix
blob0bc5cb3bd05d7ede872b9e40d55c07fca317beeb
2   stdenvNoCC,
3   lib,
4   fetchurl,
5 }:
7 let
8   version = "1.0";
9 in
10 stdenvNoCC.mkDerivation {
11   pname = "miracode";
12   inherit version;
14   src = fetchurl {
15     url = "https://github.com/IdreesInc/Miracode/releases/download/v${version}/Miracode.ttf";
16     hash = "sha256-Q+/D/TPlqOt779qYS/dF7ahEd3Mm4a4G+wdHB+Gutmo=";
17   };
19   dontUnpack = true;
20   dontConfigure = true;
21   dontBuild = true;
23   installPhase = ''
24     runHook preInstall
25     install -Dm644 $src $out/share/fonts/truetype/Miracode.ttf
26     runHook postInstall
27   '';
29   meta = with lib; {
30     description = "Sharp, readable, vector-y version of Monocraft";
31     homepage = "https://github.com/IdreesInc/Miracode";
32     license = licenses.ofl;
33     platforms = platforms.all;
34     maintainers = with maintainers; [ coca ];
35   };