depot/third_party/nixpkgs/pkgs/tools/text/multitran/libbtree/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

21 lines
596 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 = "https://multitran.sourceforge.net/";
description = "Multitran lib: library for reading Multitran's BTREE database format";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
};
}