2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libmtsupport }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfacet";
|
|
|
|
version = "0.0.1alpha2";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-09-18 10:52:07 +00:00
|
|
|
url = "mirror://sourceforge/multitran/libfacet-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "dc53351c4035a3c27dc6c1d0410e808346fbc107e7e7c112ec65c59d0df7a144";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libmtsupport ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' \
|
|
|
|
-e 's@/usr/include/mt/support@${libmtsupport}/include/mt/support@' \
|
|
|
|
src/Makefile;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://multitran.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Multitran lib: enchanced locale facets";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|