2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl} :
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libbtree";
|
|
|
|
version = "0.0.1alpha2";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-09-18 10:52:07 +00:00
|
|
|
url = "mirror://sourceforge/multitran/libbtree-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|