Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 809 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchzip, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "source-sans"; 9 version = "3.052"; 10 11 src = fetchzip { 12 url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip"; 13 hash = "sha256-yzbYy/ZS1GGlgJW+ARVWF4tjFqmMq7x+YqSQnojtQBs="; 14 }; 15 16 installPhase = '' 17 runHook preInstall 18 19 install -Dm444 OTF/*.otf -t $out/share/fonts/opentype 20 install -Dm444 TTF/*.ttf -t $out/share/fonts/truetype 21 install -Dm444 VF/*.otf -t $out/share/fonts/variable 22 23 runHook postInstall 24 ''; 25 26 meta = with lib; { 27 homepage = "https://adobe-fonts.github.io/source-sans/"; 28 description = "Sans serif font family for user interface environments"; 29 license = licenses.ofl; 30 platforms = platforms.all; 31 maintainers = with maintainers; [ ttuegel ]; 32 }; 33}