Merge pull request #68332 from Ma27/urlview-handler-fix
urlview: fix path to url_handler.sh
This commit is contained in:
commit
367bc8ba95
@ -31,10 +31,21 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = debianPatches;
|
patches = debianPatches;
|
||||||
|
|
||||||
meta = {
|
postPatch = ''
|
||||||
|
substituteInPlace urlview.c \
|
||||||
|
--replace '/etc/urlview/url_handler.sh' "$out/etc/urlview/url_handler.sh"
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm755 url_handler.sh $out/etc/urlview/url_handler.sh
|
||||||
|
patchShebangs $out/etc/urlview
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "Extract URLs from text";
|
description = "Extract URLs from text";
|
||||||
homepage = https://packages.qa.debian.org/u/urlview.html;
|
homepage = https://packages.qa.debian.org/u/urlview.html;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
|
maintainers = with maintainers; [ ma27 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user