nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 665 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchzip, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "mononoki"; 9 version = "1.6"; 10 11 src = fetchzip { 12 url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip"; 13 stripRoot = false; 14 hash = "sha256-HQM9rzIJXLOScPEXZu0MzRlblLfbVVNJ+YvpONxXuwQ="; 15 }; 16 17 installPhase = '' 18 runHook preInstall 19 20 mkdir -p $out/share/fonts/mononoki 21 cp * $out/share/fonts/mononoki 22 23 runHook postInstall 24 ''; 25 26 meta = { 27 homepage = "https://github.com/madmalik/mononoki"; 28 description = "Font for programming and code review"; 29 license = lib.licenses.ofl; 30 platforms = lib.platforms.all; 31 }; 32}