nixpkgs/pkgs/tools/text/multitran/libbtree/default.nix
Lluís Batlle i Rossell e72f1929b0 Adding multitran. I added a note in the 'data' expression, regarding
a locale that should be added into the system.

svn path=/nixpkgs/trunk/; revision=14582
2009-03-17 21:49:39 +00:00

18 lines
515 B
Nix

{stdenv, fetchurl} :
stdenv.mkDerivation {
name = "libbtree-0.0.1alpha2";
src = fetchurl {
url = mirror://sourceforge/multitran/libbtree-0.0.1alpha2.tar.bz2;
sha256 = "34a584e45058950337ff9342693b6739b52c3ce17e66440526c4bd6f9575802c";
};
patchPhase = ''
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' src/Makefile;
'';
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran lib: library for reading Multitran's BTREE database format";
license = "GPLv2";
};
}