nixpkgs/pkgs/tools/text/multitran/libmtsupport/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

19 lines
553 B
Nix

{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;
};
}