29 lines
708 B
Nix
29 lines
708 B
Nix
{ stdenv, fetchurl, libXaw, freetype }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libotf-0.9.16";
|
|
|
|
src = fetchurl {
|
|
url = "http://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 = 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 ];
|
|
};
|
|
}
|