depot/third_party/nixpkgs/pkgs/tools/inputmethods/m17n-lib/otf.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

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