nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 728 B view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "vazir-code-font"; 5 version = "1.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "rastikerdar"; 9 repo = "vazir-code-font"; 10 rev = "v${version}"; 11 hash = "sha256-iBojse3eHr4ucZtPfpkN+mmO6sEExY8WcAallyPgMsI="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \; 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://github.com/rastikerdar/vazir-code-font"; 24 description = "A Persian (farsi) Monospaced Font for coding"; 25 license = licenses.publicDomain; 26 platforms = platforms.all; 27 maintainers = [ maintainers.dearrude ]; 28 }; 29}