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

29 lines
708 B
Nix
Raw Normal View History

2018-08-16 09:05:34 +02:00
{ stdenv, fetchurl, libXaw, freetype }:
2018-10-11 17:47:20 +02:00
2018-08-16 09:05:34 +02:00
stdenv.mkDerivation rec {
name = "libotf-0.9.16";
src = fetchurl {
url = "http://download.savannah.gnu.org/releases/m17n/${name}.tar.gz";
sha256 = "0sq6g3xaxw388akws6qrllp3kp2sxgk2dv4j79k6mm52rnihrnv8";
};
2018-10-11 17:47:20 +02:00
outputs = [ "out" "dev" ];
2018-08-16 09:05:34 +02:00
buildInputs = [ libXaw freetype ];
2018-10-11 17:47:20 +02:00
postInstall =
''
mkdir -p $dev/bin
mv $out/bin/libotf-config $dev/bin/
'';
2018-08-16 09:05:34 +02:00
meta = {
homepage = http://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 ];
};
}