nixpkgs/pkgs/tools/inputmethods/m17n-lib/otf.nix
2021-01-15 17:12:36 +07:00

29 lines
696 B
Nix

{ lib, 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 = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ bendlas ];
};
}