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