nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 729 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "hasklig"; 5 version = "1.1"; 6 7 src = fetchzip { 8 url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip"; 9 stripRoot = false; 10 hash = "sha256-jsPQtjuegMePt4tB1dZ9mq15LSxXBYwtakbq4od/sko="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 install -m444 -Dt $out/share/fonts/opentype *.otf 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://github.com/i-tu/Hasklig"; 23 description = "A font with ligatures for Haskell code based off Source Code Pro"; 24 license = licenses.ofl; 25 platforms = platforms.all; 26 maintainers = with maintainers; [ davidrusu Profpatsch ]; 27 }; 28}