Merge pull request #2719 from wizeman/u/transmission-upd

transmission: Update from 2.82 -> 2.83 + fixes
This commit is contained in:
Vladimír Čunát 2014-05-22 21:11:34 +02:00
commit 4241e30874
2 changed files with 16 additions and 11 deletions

View File

@ -132,6 +132,10 @@ in
${pkgs.openssl}/lib/libcrypto*.so* mr,
${pkgs.zlib}/lib/libz*.so* mr,
${pkgs.libssh2}/lib/libssh2*.so* mr,
${pkgs.systemd}/lib/libsystemd*.so* mr,
${pkgs.xz}/lib/liblzma*.so* mr,
${pkgs.libgcrypt}/lib/libgcrypt*.so* mr,
${pkgs.libgpgerror}/lib/libgpg-error*.so* mr,
@{PROC}/sys/kernel/random/uuid r,
@{PROC}/sys/vm/overcommit_memory r,

View File

@ -1,10 +1,10 @@
{ stdenv, fetchurl, pkgconfig, intltool, file, makeWrapper
, openssl, curl, libevent, inotifyTools
, openssl, curl, libevent, inotifyTools, systemd
, enableGTK3 ? false, gtk3
}:
let
version = "2.82";
version = "2.83";
in
with { inherit (stdenv.lib) optional optionals optionalString; };
@ -14,11 +14,12 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://download.transmissionbt.com/files/transmission-${version}.tar.xz";
sha256 = "08imy28hpjxwdzgvhm66hkfyzp8qnnqr4jhv3rgshryzhw86b5ir";
sha256 = "0cqlgl6jmjw1caybz6nzh3l8z0jak1dxba01isv72zvy2r8b1qdh";
};
buildInputs = [ pkgconfig intltool file openssl curl libevent inotifyTools ]
++ optionals enableGTK3 [ gtk3 makeWrapper ];
++ optionals enableGTK3 [ gtk3 makeWrapper ]
++ optional stdenv.isLinux systemd;
preConfigure = ''
sed -i -e 's|/usr/bin/file|${file}/bin/file|g' configure