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

29 lines
712 B
Nix
Raw Normal View History

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