nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 641 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "lao"; 9 version = "0.0.20060226"; 10 11 src = fetchurl { 12 url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 13 hash = "sha256-DlgdyfhxxzVkNIL+NGsQ+PRlNkCuG3v2OahkIEYx60o="; 14 }; 15 16 installPhase = '' 17 runHook preInstall 18 19 mkdir -p $out/share/fonts 20 cp Phetsarath_OT.ttf $out/share/fonts 21 22 runHook postInstall 23 ''; 24 25 meta = { 26 description = "TrueType font for Lao language"; 27 license = lib.licenses.gpl2Plus; 28 maintainers = with lib.maintainers; [ serge ]; 29 platforms = lib.platforms.all; 30 }; 31}