2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl} :
|
2009-03-17 21:49:39 +00:00
|
|
|
|
2021-08-02 09:12:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libbtree";
|
|
|
|
version = "0.0.1alpha2";
|
|
|
|
|
2009-03-17 21:49:39 +00:00
|
|
|
src = fetchurl {
|
2021-08-02 09:12:13 +00:00
|
|
|
url = "mirror://sourceforge/multitran/libbtree-${version}.tar.bz2";
|
2009-03-17 21:49:39 +00:00
|
|
|
sha256 = "34a584e45058950337ff9342693b6739b52c3ce17e66440526c4bd6f9575802c";
|
|
|
|
};
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' src/Makefile;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://multitran.sourceforge.net/";
|
2009-03-17 21:49:39 +00:00
|
|
|
description = "Multitran lib: library for reading Multitran's BTREE database format";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2009-03-17 21:49:39 +00:00
|
|
|
};
|
|
|
|
}
|