summary refs log tree commit diff
path: root/pkgs/tools/text/multitran/libmtsupport/default.nix
blob: 9b214e6b502761afa22d2ae198ec144eb7ec1bbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, fetchurl} :

stdenv.mkDerivation {
  name = "libmtsupport-0.0.1alpha2";
  src = fetchurl {
    url = mirror://sourceforge/multitran/libmtsupport-0.0.1alpha2.tar.bz2;
    sha256 = "481f0f1ec15d7274f1e4eb93e7d060df10a181efd037eeff5e8056d283a9298b";
  };
  patchPhase = ''
    sed -i -e 's@\$(DESTDIR)/usr@'$out'@' src/Makefile;
  '';

  meta = {
    homepage = http://multitran.sourceforge.net/;
    description = "Multitran lib: basic useful functions";
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.linux;
  };
}