plocate: 1.1.17 -> 1.1.19

This commit is contained in:
Sandro Jäckel 2023-06-21 12:46:59 +02:00 committed by Peter Hoeg
parent d1159cf7f9
commit be359d1ea4

View file

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