Merge pull request #298659 from Aleksanaa/gabutdm

gabutdm: add aria2 to wrapper path and remove unused cmake
This commit is contained in:
Weijia Wang 2024-03-26 10:33:50 +01:00 committed by GitHub
commit 2f345e7628
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -3,7 +3,6 @@
, fetchFromGitHub
, meson
, pkg-config
, cmake
, ninja
, vala
, wrapGAppsHook4
@ -15,6 +14,7 @@
, json-glib
, qrencode
, curl
, aria2
}:
stdenv.mkDerivation rec {
@ -31,7 +31,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
meson
pkg-config
cmake
ninja
vala
wrapGAppsHook4
@ -53,6 +52,12 @@ stdenv.mkDerivation rec {
--replace gtk-update-icon-cache gtk4-update-icon-cache
'';
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${lib.makeBinPath [ aria2 ]}
)
'';
meta = with lib; {
description = "Simple and fast download manager";
homepage = "https://github.com/gabutakut/gabutdm";