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