diff options
author | Bobby Rong <rjl931189261@126.com> | 2021-09-11 21:05:26 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2021-09-11 21:05:26 +0800 |
commit | 524b819690d43badf8e7b8000fb5893c58167111 (patch) | |
tree | d282793a3b6faff56c000c63ca2a11838739a4f5 /pkgs/applications/networking/p2p | |
parent | 2d3131692ec1946127cfabc3461e31a02eb5b716 (diff) |
torrential: 1.1.0 -> 2.0.0
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/torrential/default.nix | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/pkgs/applications/networking/p2p/torrential/default.nix b/pkgs/applications/networking/p2p/torrential/default.nix index cbeb6afa40884..7290ec65ad561 100644 --- a/pkgs/applications/networking/p2p/torrential/default.nix +++ b/pkgs/applications/networking/p2p/torrential/default.nix @@ -1,56 +1,70 @@ { lib, stdenv , fetchFromGitHub , nix-update-script -, cmake +, desktop-file-utils +, meson +, ninja , pkg-config -, vala_0_40 -, pantheon +, python3 +, vala +, wrapGAppsHook , curl +, dht , glib , gtk3 , libb64 , libevent , libgee , libnatpmp -, libunity +, libtransmission +, libutp , miniupnpc , openssl -, wrapGAppsHook +, pantheon }: stdenv.mkDerivation rec { pname = "torrential"; - version = "1.1.0"; + version = "2.0.0"; src = fetchFromGitHub { owner = "davidmhewitt"; repo = "torrential"; rev = version; - fetchSubmodules = true; - sha256 = "17aby0c17ybyzyzyc1cg1j6q1a186801fy84avlaxahqp7vdammx"; + sha256 = "sha256-78eNIz7Lgeq4LTog04TMNuL27Gv0UZ0poBaw8ia1R/g="; }; nativeBuildInputs = [ - cmake - vala_0_40 # https://github.com/davidmhewitt/torrential/issues/135 + desktop-file-utils + meson + ninja pkg-config + python3 + vala wrapGAppsHook ]; buildInputs = [ curl + dht glib gtk3 libb64 libevent libgee libnatpmp - libunity + libtransmission + libutp miniupnpc openssl pantheon.granite ]; + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + passthru = { updateScript = nix-update-script { attrPath = pname; @@ -60,8 +74,8 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Download torrents in style with this speedy, minimalist torrent client for elementary OS"; homepage = "https://github.com/davidmhewitt/torrential"; - maintainers = with maintainers; [ xiorcale ] ++ pantheon.maintainers; + maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members; platforms = platforms.linux; - license = licenses.gpl3; + license = licenses.gpl2Plus; }; } |