13 dbfile = lib.attrByPath [ "locate" "dbfile" ] "/var/cache/locatedb" config;
15 stdenv.mkDerivation rec {
20 url = "https://git.sesse.net/plocate";
22 sha256 = "sha256-rwvzDr3leve8BQ30+c3l1+q/7+u7FhPQ7iFcvbx/HjM=";
30 nativeBuildInputs = [ meson ninja pkg-config ];
32 buildInputs = [ systemd liburing zstd ];
35 "-Dsystemunitdir=${placeholder "out"}/etc/systemd/system"
36 "-Dsharedstatedir=${builtins.dirOf dbfile}"
37 "-Ddbpath=${builtins.baseNameOf dbfile}"
41 description = "Much faster locate";
42 homepage = "https://plocate.sesse.net/";
43 license = licenses.mit;
44 maintainers = with maintainers; [ peterhoeg SuperSandro2000 ];
45 platforms = platforms.linux;