2021-01-15 09:19:50 +00:00
|
|
|
{ lib, 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 {
|
2018-12-01 17:07:00 +00:00
|
|
|
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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.nongnu.org/m17n/";
|
2018-08-16 08:05:34 +01:00
|
|
|
description = "Multilingual text processing library (libotf)";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ bendlas ];
|
2018-08-16 08:05:34 +01:00
|
|
|
};
|
|
|
|
}
|