depot/third_party/nixpkgs/pkgs/tools/text/multitran/libbtree/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

21 lines
591 B
Nix

{lib, stdenv, fetchurl} :
stdenv.mkDerivation rec {
pname = "libbtree";
version = "0.0.1alpha2";
src = fetchurl {
url = "mirror://sourceforge/multitran/libbtree-${version}.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 = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}