1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/tools/inputmethods/m17n-lib/otf.nix

29 lines
709 B
Nix
Raw Normal View History

2018-08-16 03:05:34 -04:00
{ stdenv, fetchurl, libXaw, freetype }:
2018-10-11 11:47:20 -04:00
2018-08-16 03:05:34 -04: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 11:47:20 -04:00
outputs = [ "out" "dev" ];
2018-08-16 03:05:34 -04:00
buildInputs = [ libXaw freetype ];
2018-10-11 11:47:20 -04:00
postInstall =
''
mkdir -p $dev/bin
mv $out/bin/libotf-config $dev/bin/
'';
2018-08-16 03:05:34 -04:00
meta = {
2018-12-01 12:32:32 -05:00
homepage = https://www.nongnu.org/m17n/;
2018-08-16 03:05:34 -04:00
description = "Multilingual text processing library (libotf)";
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ bendlas ];
};
}