nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 803 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "source-sans"; 5 version = "3.046"; 6 7 src = fetchzip { 8 url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip"; 9 hash = "sha256-nBLEK+T5n1CdZK2zvCWIhF2MxPmiAwL9l55a55yHtgU="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm444 OTF/*.otf -t $out/share/fonts/opentype 16 install -Dm444 TTF/*.ttf -t $out/share/fonts/truetype 17 install -Dm444 VAR/*.otf -t $out/share/fonts/variable 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://adobe-fonts.github.io/source-sans/"; 24 description = "Sans serif font family for user interface environments"; 25 license = licenses.ofl; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ ttuegel ]; 28 }; 29}