2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl} :
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# This package requires a locale ru_RU.cp1251 locale entry.
|
|
|
|
# Waiting for a better idea, I created it modifying a store file using:
|
|
|
|
# localedef -f CP1251 -i ru_RU ru_RU.CP1251
|
|
|
|
# The store file mentioned is in "${glibc.out}/lib/locale/locale-archive"
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "multitran-data";
|
|
|
|
version = "0.3";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/multitran/multitran-data.tar.bz2";
|
|
|
|
sha256 = "9c2ff5027c2fe72b0cdf056311cd7543f447feb02b455982f20d4a3966b7828c";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' 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 data english-russian";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|