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

29 lines
696 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, 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 = "https://download.savannah.gnu.org/releases/m17n/${name}.tar.gz";
2018-08-16 09:05:34 +02:00
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 = "https://www.nongnu.org/m17n/";
2018-08-16 09:05:34 +02:00
description = "Multilingual text processing library (libotf)";
2021-01-15 10:19:50 +01:00
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ bendlas ];
2018-08-16 09:05:34 +02:00
};
}