diff options
author | aleksana <me@aleksana.moe> | 2023-05-09 03:32:19 +0800 |
---|---|---|
committer | aleksana <me@aleksana.moe> | 2023-05-09 04:10:51 +0800 |
commit | d9385a3df161e906f44f8535fc4012c39451797a (patch) | |
tree | fa485f70a31bbdacd04960599a32d8be2b6f7046 /pkgs/applications/networking/gabutdm | |
parent | 2909d9b11778ee01908656f63398aa5b9831bc27 (diff) |
gabutdm: init at 2.1.5
Diffstat (limited to 'pkgs/applications/networking/gabutdm')
-rw-r--r-- | pkgs/applications/networking/gabutdm/default.nix | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/pkgs/applications/networking/gabutdm/default.nix b/pkgs/applications/networking/gabutdm/default.nix new file mode 100644 index 000000000000..11cde55344bf --- /dev/null +++ b/pkgs/applications/networking/gabutdm/default.nix @@ -0,0 +1,64 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, pkg-config +, cmake +, ninja +, vala +, wrapGAppsHook4 +, desktop-file-utils +, sqlite +, libcanberra +, libsoup_3 +, libgee +, json-glib +, qrencode +, curl +}: + +stdenv.mkDerivation rec { + pname = "gabutdm"; + version = "2.1.5"; + + src = fetchFromGitHub { + owner = "gabutakut"; + repo = pname; + rev = version; + hash = "sha256-8fV7STYSpmNnLyoAjz+RuF/0nFeNiu8AIxkON1MbWr4="; + }; + + nativeBuildInputs = [ + meson + pkg-config + cmake + ninja + vala + wrapGAppsHook4 + desktop-file-utils + ]; + + buildInputs = [ + sqlite + libcanberra + libsoup_3 + libgee + json-glib + qrencode + curl + ]; + + postPatch = '' + substituteInPlace meson/post_install.py \ + --replace gtk-update-icon-cache gtk4-update-icon-cache + ''; + + meta = with lib; { + description = "Simple and faster download manager"; + homepage = "https://github.com/gabutakut/gabutdm"; + license = licenses.lgpl21Plus; + mainProgram = "com.github.gabutakut.gabutdm"; + maintainers = with maintainers; [ aleksana ]; + platforms = platforms.unix; + }; +} |