uget-integrator: use installShellFiles

This commit is contained in:
Anderson Torres
2025-05-11 17:07:45 -03:00
parent 2431aa379a
commit d2a7075069
+6 -2
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
uget,
python3Packages,
installShellFiles,
}:
stdenv.mkDerivation rec {
@@ -17,7 +18,10 @@ stdenv.mkDerivation rec {
sha256 = "0bfqwbpprxp5sy49p2hqcjdfj7zamnp2hhcnnyccffkn7pghx8pp";
};
nativeBuildInputs = [ python3Packages.wrapPython ];
nativeBuildInputs = [
installShellFiles
python3Packages.wrapPython
];
buildInputs = [
uget
@@ -29,7 +33,7 @@ stdenv.mkDerivation rec {
substituteInPlace $f --replace "/usr" "$out"
done
install -D -t $out/bin bin/uget-integrator
installBin bin/uget-integrator
install -D -t $out/etc/opt/chrome/native-messaging-hosts conf/com.ugetdm.chrome.json
install -D -t $out/etc/chromium/native-messaging-hosts conf/com.ugetdm.chrome.json
install -D -t $out/etc/opera/native-messaging-hosts conf/com.ugetdm.chrome.json