plocate: 1.1.16 -> 1.1.17

This commit is contained in:
Sandro Jäckel 2022-12-05 02:23:23 +01:00
parent 66d7e707a4
commit bfff474f8f
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -2,6 +2,7 @@
, stdenv
, lib
, fetchgit
, fetchpatch
, pkg-config
, meson
, ninja
@ -14,14 +15,23 @@ let
in
stdenv.mkDerivation rec {
pname = "plocate";
version = "1.1.16";
version = "1.1.17";
src = fetchgit {
url = "https://git.sesse.net/plocate";
rev = version;
sha256 = "sha256-rwvzDr3leve8BQ30+c3l1+q/7+u7FhPQ7iFcvbx/HjM=";
sha256 = "sha256-EcWzvbY8ey5asEJxUeSl10ozApgg+wL5o8NCNw7/W7k=";
};
patches = [
# fix redefinition error
(fetchpatch {
url = "https://git.sesse.net/?p=plocate;a=patch;h=0125004cd28c5f9124632b594e51dde73af1691c";
revert = true;
sha256 = "sha256-1TDpxIdpDZQ0IZ/wGG91RVZDrpMpWkvhRF8oE0CJWIY=";
})
];
postPatch = ''
sed -i meson.build \
-e '/mkdir\.sh/d'