mepo: 1.2.0 -> 1.2.1
This commit is contained in:
parent
4a4ecb0ab4
commit
a3026321a5
|
@ -17,23 +17,23 @@
|
||||||
, util-linux
|
, util-linux
|
||||||
, xwininfo
|
, xwininfo
|
||||||
, zenity
|
, zenity
|
||||||
, zig_0_11
|
, zig_0_12
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mepo";
|
pname = "mepo";
|
||||||
version = "1.2.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~mil";
|
owner = "~mil";
|
||||||
repo = "mepo";
|
repo = "mepo";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-sxN7yTnk3KDAkP/d3miKa2bEgB3AUaf9/M9ajJyRt3g=";
|
hash = "sha256-Ii5E9TgUxzlVIdkKS/6RtasOETeclMm1yoU86gs4hB8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
zig_0_11.hook
|
zig_0_12.hook
|
||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -56,10 +56,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
substituteInPlace $out/bin/mepo_ui_menu_user_pin_updater.sh \
|
substituteInPlace $out/bin/mepo_ui_menu_user_pin_updater.sh \
|
||||||
--replace /usr/libexec/geoclue-2.0 ${geoclue2-with-demo-agent}/libexec/geoclue-2.0
|
--replace-fail /usr/libexec/geoclue-2.0 ${geoclue2-with-demo-agent}/libexec/geoclue-2.0
|
||||||
substituteInPlace $out/bin/mepo_ui_central_menu.sh \
|
substituteInPlace $out/bin/mepo_ui_central_menu.sh \
|
||||||
--replace "grep mepo_" "grep '^\.mepo_\|^mepo_'" \
|
--replace-fail "grep mepo_" "grep '^\.mepo_\|^mepo_'" \
|
||||||
--replace " ls " " ls -a " #circumvent wrapping for script detection
|
--replace-fail " ls " " ls -a " #circumvent wrapping for script detection
|
||||||
for program in $out/bin/* ; do
|
for program in $out/bin/* ; do
|
||||||
wrapProgram $program \
|
wrapProgram $program \
|
||||||
--suffix PATH : $out/bin:${lib.makeBinPath ([
|
--suffix PATH : $out/bin:${lib.makeBinPath ([
|
||||||
|
|
Loading…
Reference in New Issue
Block a user