
All the locate versions we have support LOCATE_PATH, so just use that instead of adding indirections all over the place AND forcing people to rebuild their locate implementation if they want the path changed.
20 lines
529 B
Nix
20 lines
529 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mlocate";
|
|
version = "0.26";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.pagure.org/mlocate/${pname}-${version}.tar.xz";
|
|
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Merging locate is an utility to index and quickly search for files";
|
|
homepage = "https://pagure.io/mlocate";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|