nixpkgs/pkgs/tools/misc/mlocate/default.nix
2023-10-03 00:10:39 +02:00

24 lines
583 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "mlocate";
version = "0.26";
src = fetchurl {
url = "https://releases.pagure.org/mlocate/mlocate-${version}.tar.xz";
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
};
makeFlags = [
"dbfile=/var/cache/locatedb"
];
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; [ ];
};
}