1 { fetchurl, lib, stdenv, perl, perlPackages, makeWrapper }:
3 stdenv.mkDerivation rec {
8 url = "http://namazu.org/stable/${pname}-${version}.tar.gz";
9 sha256 = "1xvi7hrprdchdpzhg3fvk4yifaakzgydza5c0m50h1yvg6vay62w";
12 buildInputs = [ perl perlPackages.FileMMagic ];
13 nativeBuildInputs = [ makeWrapper ];
16 wrapProgram $out/bin/mknmz --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.FileMMagic ]}
20 description = "Full-text search engine";
23 Namazu is a full-text search engine intended for easy use. Not
24 only does it work as a small or medium scale Web search engine,
25 but also as a personal search system for email or other files.
28 license = lib.licenses.gpl2Plus;
29 homepage = "http://namazu.org/";
31 platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice