transmission: 2.92 -> 2.93
This commit is contained in:
parent
4925a5a40c
commit
a2a922d5c8
|
@ -6,18 +6,15 @@
|
|||
, enableCli ? true
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.92";
|
||||
in
|
||||
|
||||
let inherit (stdenv.lib) optional optionals optionalString; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "transmission-" + optionalString enableGTK3 "gtk-" + version;
|
||||
version = "2.93";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://transmission.cachefly.net/transmission-${version}.tar.xz";
|
||||
sha256 = "0pykmhi7pdmzq47glbj8i2im6iarp4wnj4l1pyvsrnba61f0939s";
|
||||
url = "https://github.com/transmission/transmission-releases/raw/master/transmission-2.93.tar.xz";
|
||||
sha256 = "8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
|
@ -27,16 +24,6 @@ stdenv.mkDerivation rec {
|
|||
++ optionals enableSystemd [ systemd ]
|
||||
++ optionals stdenv.isLinux [ inotify-tools ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# See https://github.com/transmission/transmission/pull/468
|
||||
# Patch from: https://github.com/transmission/transmission/pull/468#issuecomment-357098126
|
||||
name = "transmission-fix-dns-rebinding-vuln.patch";
|
||||
url = https://github.com/transmission/transmission/files/1624507/transmission-fix-dns-rebinding-vuln.patch.txt;
|
||||
sha256 = "1p9m20kp4kdyp5jjr3yp5px627n8cfa29mg5n3wzsdfv0qzk9gy4";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./configure \
|
||||
--replace "libsystemd-daemon" "libsystemd" \
|
||||
|
|
Loading…
Reference in New Issue