diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-10-04 13:20:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 13:20:46 +0300 |
commit | 34585a2b76ea47c98cf23217a0afba607aca4ed6 (patch) | |
tree | a83b3264e6f383971b979cc04ecb70be82a1d06b /pkgs/applications/networking/p2p | |
parent | 41f6c3ff5a8f8b571ee55261b96582e98b21800c (diff) | |
parent | ea9254a5a58911e9d1d108aa2923ebbb6a78e1d9 (diff) |
Merge pull request #256866 from kirillrdy/transmission
transmission, transmission_4: set mainProgram and restore nixosTests
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/transmission/4.nix | 6 | ||||
-rw-r--r-- | pkgs/applications/networking/p2p/transmission/default.nix | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/transmission/4.nix b/pkgs/applications/networking/p2p/transmission/4.nix index 05d757d53a2c9..07cdbcd25d575 100644 --- a/pkgs/applications/networking/p2p/transmission/4.nix +++ b/pkgs/applications/networking/p2p/transmission/4.nix @@ -141,8 +141,14 @@ stdenv.mkDerivation rec { EOF ''; + passthru.tests = { + apparmor = nixosTests.transmission_4; # starts the service with apparmor enabled + smoke-test = nixosTests.bittorrent; + }; + meta = { description = "A fast, easy and free BitTorrent client"; + mainProgram = if enableQt then "transmission-qt" else if enableGTK3 then "transmission-gtk" else "transmission-cli"; longDescription = '' Transmission is a BitTorrent client which features a simple interface on top of a cross-platform back-end. diff --git a/pkgs/applications/networking/p2p/transmission/default.nix b/pkgs/applications/networking/p2p/transmission/default.nix index cc82c5038083c..1cfa057a73eeb 100644 --- a/pkgs/applications/networking/p2p/transmission/default.nix +++ b/pkgs/applications/networking/p2p/transmission/default.nix @@ -129,6 +129,7 @@ in stdenv.mkDerivation { meta = { description = "A fast, easy and free BitTorrent client"; + mainProgram = if enableQt then "transmission-qt" else if enableGTK3 then "transmission-gtk" else "transmission-cli"; longDescription = '' Transmission is a BitTorrent client which features a simple interface on top of a cross-platform back-end. |