mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
re-Isearch: init at unstable-2022-03-24
This commit is contained in:
parent
a04460825e
commit
481ad5b3c3
46
pkgs/applications/search/re-isearch/default.nix
Normal file
46
pkgs/applications/search/re-isearch/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ stdenv, fetchFromGitHub, lib, db, file, libnsl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "re-Isearch";
|
||||
version = "unstable-2022-03-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "e5953ea6c84285283be3689df7065908369cdbaf";
|
||||
sha256 = "sha256-D0PDqlWzIOHqdS2MlNzR2T5cyhiLcFlf30v6eFokoRQ=";
|
||||
};
|
||||
|
||||
buildinputs = [
|
||||
db
|
||||
file # libmagic
|
||||
libnsl
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"CC=g++" "cc=gcc" "LD=g++"
|
||||
"INSTALL=${placeholder "out"}/bin"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
cd build
|
||||
makeFlagsArray+=(
|
||||
EXTRA_INC="-I${db.dev}/include -I${file}/include"
|
||||
LD_PATH="-L../lib -L${db.out}/lib -L${file}/lib -L${libnsl}/lib"
|
||||
)
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/{bin,lib}
|
||||
'';
|
||||
postInstall = ''
|
||||
cp ../lib/*.so $out/lib/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Novel multimodal search and retrieval engine";
|
||||
homepage = "https://github.com/re-Isearch/";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.astro ];
|
||||
};
|
||||
}
|
@ -10098,6 +10098,8 @@ with pkgs;
|
||||
|
||||
realvnc-vnc-viewer = callPackage ../tools/admin/realvnc-vnc-viewer {};
|
||||
|
||||
re-isearch = callPackage ../applications/search/re-isearch { };
|
||||
|
||||
reaverwps = callPackage ../tools/networking/reaver-wps {};
|
||||
|
||||
reaverwps-t6x = callPackage ../tools/networking/reaver-wps-t6x {};
|
||||
|
Loading…
Reference in New Issue
Block a user