2009-03-17 21:49:39 +00:00
|
|
|
{stdenv, fetchurl} :
|
|
|
|
|
|
|
|
# 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
|
2015-04-26 17:54:51 +00:00
|
|
|
# The store file mentioned is in "${glibc.out}/lib/locale/locale-archive"
|
2009-03-17 21:49:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "multitran-data-0.3";
|
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "mirror://sourceforge/multitran/multitran-data.tar.bz2";
|
2009-03-17 21:49:39 +00:00
|
|
|
sha256 = "9c2ff5027c2fe72b0cdf056311cd7543f447feb02b455982f20d4a3966b7828c";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://multitran.sourceforge.net/";
|
2009-03-17 21:49:39 +00:00
|
|
|
description = "Multitran data english-russian";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-03-17 21:49:39 +00:00
|
|
|
};
|
|
|
|
}
|