1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/data/fonts/oldsindhi/default.nix
volth c9eb44eab3 data/fonts: cleanup
* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
2019-05-13 06:03:31 +00:00

27 lines
710 B
Nix

{ lib, fetchzip, p7zip }:
let
version = "0.1";
in fetchzip rec {
name = "oldsindhi-${version}";
url = "https://github.com/MihailJP/oldsindhi/releases/download/0.1/OldSindhi-0.1.7z";
postFetch = ''
${p7zip}/bin/7z x $downloadedFile
install -m444 -Dt $out/share/fonts/truetype OldSindhi/*.ttf
install -m444 -Dt $out/share/doc/${name} OldSindhi/README OldSindhi/*.txt
'';
sha256 = "0d4l9cg2vmh2pvnqsla8mgcwvc7wjxzcabhlli6633h3ifj2yp7b";
meta = with lib; {
homepage = https://github.com/MihailJP/oldsindhi;
description = "Free Sindhi Khudabadi font";
maintainers = with maintainers; [ mathnerd314 ];
license = licenses.bsd2;
platforms = platforms.all;
};
}