Update transmission patch
This commit is contained in:
parent
b8e8e8567e
commit
4c29842308
1 changed files with 4 additions and 8 deletions
|
@ -36,10 +36,10 @@ index 0000000000000..46c1dda8b9cfe
|
|||
+}
|
||||
diff --git a/pkgs/applications/networking/p2p/transmission/4.nix b/pkgs/applications/networking/p2p/transmission/4.nix
|
||||
new file mode 100644
|
||||
index 0000000000000..3e7d2b946d781
|
||||
index 0000000000000..6ad2c8dd08283
|
||||
--- /dev/null
|
||||
+++ b/pkgs/applications/networking/p2p/transmission/4.nix
|
||||
@@ -0,0 +1,166 @@
|
||||
@@ -0,0 +1,162 @@
|
||||
+{ stdenv
|
||||
+, lib
|
||||
+, fetchFromGitHub
|
||||
|
@ -63,6 +63,7 @@ index 0000000000000..3e7d2b946d781
|
|||
+, dht
|
||||
+, libnatpmp
|
||||
+, libiconv
|
||||
+, darwin
|
||||
+ # Build options
|
||||
+, enableGTK3 ? false
|
||||
+, gtkmm3
|
||||
|
@ -154,7 +155,7 @@ index 0000000000000..3e7d2b946d781
|
|||
+ ++ lib.optionals enableGTK3 [ gtkmm3 xorg.libpthreadstubs ]
|
||||
+ ++ lib.optionals enableSystemd [ systemd ]
|
||||
+ ++ lib.optionals stdenv.isLinux [ inotify-tools ]
|
||||
+ ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
+ ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Foundation ];
|
||||
+
|
||||
+ postInstall = ''
|
||||
+ mkdir $apparmor
|
||||
|
@ -182,11 +183,6 @@ index 0000000000000..3e7d2b946d781
|
|||
+ EOF
|
||||
+ '';
|
||||
+
|
||||
+ passthru.tests = {
|
||||
+ apparmor = nixosTests.transmission; # starts the service with apparmor enabled
|
||||
+ smoke-test = nixosTests.bittorrent;
|
||||
+ };
|
||||
+
|
||||
+ meta = {
|
||||
+ description = "A fast, easy and free BitTorrent client";
|
||||
+ longDescription = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue