depot/third_party/nixpkgs/pkgs/tools/inputmethods/m17n-lib/otf.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
712 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 ];
};
}