nixpkgs/pkgs/tools/inputmethods/m17n-lib/otf.nix

29 lines
710 B
Nix

{ stdenv, fetchurl, libXaw, freetype }:
stdenv.mkDerivation rec {
name = "libotf-0.9.16";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/m17n/${name}.tar.gz";
sha256 = "0sq6g3xaxw388akws6qrllp3kp2sxgk2dv4j79k6mm52rnihrnv8";
};
outputs = [ "out" "dev" ];
buildInputs = [ libXaw freetype ];
postInstall =
''
mkdir -p $dev/bin
mv $out/bin/libotf-config $dev/bin/
'';
meta = {
homepage = https://www.nongnu.org/m17n/;
description = "Multilingual text processing library (libotf)";
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ bendlas ];
};
}