oldsindshi: 0.1 -> 1.0

+8 -9
+8 -9
pkgs/data/fonts/oldsindhi/default.nix
··· 1 - { lib, fetchzip, p7zip }: 2 3 let 4 - version = "0.1"; 5 in fetchzip rec { 6 name = "oldsindhi-${version}"; 7 8 - url = "https://github.com/MihailJP/oldsindhi/releases/download/0.1/OldSindhi-0.1.7z"; 9 10 postFetch = '' 11 - ${p7zip}/bin/7z x $downloadedFile 12 - 13 - install -m444 -Dt $out/share/fonts/truetype OldSindhi/*.ttf 14 - install -m444 -Dt $out/share/doc/${name} OldSindhi/README OldSindhi/*.txt 15 ''; 16 17 - sha256 = "0d4l9cg2vmh2pvnqsla8mgcwvc7wjxzcabhlli6633h3ifj2yp7b"; 18 19 meta = with lib; { 20 homepage = "https://github.com/MihailJP/oldsindhi"; 21 description = "Free Sindhi Khudabadi font"; 22 maintainers = with maintainers; [ mathnerd314 ]; 23 - license = licenses.bsd2; 24 platforms = platforms.all; 25 }; 26 }
··· 1 + { lib, fetchzip }: 2 3 let 4 + version = "1.0"; 5 in fetchzip rec { 6 name = "oldsindhi-${version}"; 7 8 + url = "https://github.com/MihailJP/oldsindhi/releases/download/v${version}/OldSindhi-${version}.tar.xz"; 9 10 postFetch = '' 11 + tar -xJf $downloadedFile --strip-components=1 12 + install -m444 -Dt $out/share/fonts/truetype *.ttf 13 + install -m444 -Dt $out/share/doc/${name} README *.txt 14 ''; 15 16 + sha256 = "03c483vbrwz2fpdfbys42fmik9788zxfmjmc4fgq4s2d0mraa0j1"; 17 18 meta = with lib; { 19 homepage = "https://github.com/MihailJP/oldsindhi"; 20 description = "Free Sindhi Khudabadi font"; 21 maintainers = with maintainers; [ mathnerd314 ]; 22 + license = with licenses; [mit ofl]; 23 platforms = platforms.all; 24 }; 25 }