nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 35 lines 862 B view raw
1{ lib, stdenvNoCC, fetchFromGitLab }: 2 3stdenvNoCC.mkDerivation { 4 pname = "open-sans"; 5 version = "1.11"; 6 7 src = fetchFromGitLab { 8 domain = "salsa.debian.org"; 9 owner = "fonts-team"; 10 repo = "fonts-open-sans"; 11 rev = "debian/1.11-1"; 12 hash = "sha256-gkq5RPa83dND91q1hiA9Qokq1iA8gLQ8XvCNWe+e8Bw="; 13 }; 14 15 installPhase = '' 16 runHook preInstall 17 18 mkdir -p $out/share/fonts/truetype 19 cp *.ttf $out/share/fonts/truetype 20 21 runHook postInstall 22 ''; 23 24 meta = with lib; { 25 description = "Open Sans fonts"; 26 longDescription = '' 27 Open Sans is a humanist sans serif typeface designed by Steve Matteson, 28 Type Director of Ascender Corp. 29 ''; 30 homepage = "https://www.opensans.com"; 31 license = licenses.asl20; 32 platforms = platforms.all; 33 maintainers = with maintainers; [ ] ++ teams.pantheon.members; 34 }; 35}