at 17.09-beta 25 lines 782 B view raw
1{stdenv, fetchurl} : 2 3# This package requires a locale ru_RU.cp1251 locale entry. 4# Waiting for a better idea, I created it modifying a store file using: 5# localedef -f CP1251 -i ru_RU ru_RU.CP1251 6# The store file mentioned is in "${glibc.out}/lib/locale/locale-archive" 7 8stdenv.mkDerivation { 9 name = "multitran-data-0.3"; 10 src = fetchurl { 11 url = mirror://sourceforge/multitran/multitran-data.tar.bz2; 12 sha256 = "9c2ff5027c2fe72b0cdf056311cd7543f447feb02b455982f20d4a3966b7828c"; 13 }; 14 15 patchPhase = '' 16 sed -i -e 's@\$(DESTDIR)/usr@'$out'@' Makefile 17 ''; 18 19 meta = { 20 homepage = http://multitran.sourceforge.net/; 21 description = "Multitran data english-russian"; 22 license = stdenv.lib.licenses.gpl2; 23 platforms = stdenv.lib.platforms.unix; 24 }; 25}