2023-10-02 12:10:22 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-10-25 11:58:49 +00:00
|
|
|
|
2023-09-26 14:54:22 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mlocate";
|
2016-10-25 11:58:49 +00:00
|
|
|
version = "0.26";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-10-02 22:10:39 +00:00
|
|
|
url = "https://releases.pagure.org/mlocate/mlocate-${version}.tar.xz";
|
2016-10-25 11:58:49 +00:00
|
|
|
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
|
|
|
|
};
|
|
|
|
|
2023-10-02 22:10:39 +00:00
|
|
|
makeFlags = [
|
|
|
|
"dbfile=/var/cache/locatedb"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-10-25 11:58:49 +00:00
|
|
|
description = "Merging locate is an utility to index and quickly search for files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://pagure.io/mlocate";
|
2024-04-26 11:35:31 +00:00
|
|
|
license = licenses.gpl2Only;
|
2016-10-25 11:58:49 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|