forked from mirrors/nixpkgs
khmeros: init at 5.0
This commit is contained in:
parent
50d72453fd
commit
777eee14aa
27
pkgs/data/fonts/khmeros/default.nix
Normal file
27
pkgs/data/fonts/khmeros/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ fetchzip, lib }:
|
||||
|
||||
let
|
||||
version = "5.0";
|
||||
in
|
||||
fetchzip {
|
||||
name = "khmeros-${version}";
|
||||
url = "mirror://debian/pool/main/f/fonts-khmeros/fonts-khmeros_${version}.orig.tar.xz";
|
||||
sha256 = "sha256-pS+7RQbGwlBxdCfSVxHmARCAkZrZttwYNlV/CrxqI+w=";
|
||||
|
||||
postFetch = ''
|
||||
unpackDir="$TMPDIR/unpack"
|
||||
mkdir "$unpackDir"
|
||||
cd "$unpackDir"
|
||||
tar xf "$downloadedFile" --strip-components=1
|
||||
mkdir -p $out/share/fonts
|
||||
cp *.ttf $out/share/fonts
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "KhmerOS Unicode fonts for the Khmer language";
|
||||
homepage = "http://www.khmeros.info/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ serge ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -24352,6 +24352,8 @@ with pkgs;
|
|||
|
||||
kde-rounded-corners = libsForQt5.callPackage ../data/themes/kwin-decorations/kde-rounded-corners { };
|
||||
|
||||
khmeros = callPackage ../data/fonts/khmeros {};
|
||||
|
||||
kochi-substitute = callPackage ../data/fonts/kochi-substitute {};
|
||||
|
||||
kochi-substitute-naga10 = callPackage ../data/fonts/kochi-substitute-naga10 {};
|
||||
|
|
Loading…
Reference in a new issue