Merge pull request #36343 from bignaux/soulseekqt

soulseekqt: init at 2016-1-17 (last official stable)

authored by lewo and committed by GitHub 9cfeabb3 4134e626

+57
+55
pkgs/applications/networking/p2p/soulseekqt/default.nix
··· 1 + { stdenv 2 + , fetchurl 3 + , dbus 4 + , expat, zlib, fontconfig 5 + , libpng, libX11, libxcb, libXau, libXdmcp, freetype, libbsd 6 + }: 7 + 8 + with stdenv.lib; 9 + let 10 + libPath = makeLibraryPath 11 + [ stdenv.cc.cc dbus libX11 zlib libX11 libxcb libXau libXdmcp freetype fontconfig libbsd ]; 12 + 13 + version = "2016-1-17"; 14 + 15 + mainbin = "SoulseekQt-" + (version) +"-"+ (if stdenv.is64bit then "64bit" else "32bit"); 16 + srcs = { 17 + "i686-linux" = fetchurl { 18 + url = "https://www.dropbox.com/s/kebk1b5ib1m3xxw/${mainbin}.tgz"; 19 + sha256 = "0r9rhnfslkgbw3l7fnc0rcfqjh58amgh5p33kwam0qvn1h1frnir"; 20 + }; 21 + 22 + "x86_64-linux" = fetchurl { 23 + url = "https://www.dropbox.com/s/7qh902qv2sxyp6p/${mainbin}.tgz"; 24 + sha256 = "05l3smpdvw8xdhv4v8a28j0yi1kvzhrha2ck23g4bl7x9wkay4cc"; 25 + }; 26 + }; 27 + 28 + in stdenv.mkDerivation rec { 29 + 30 + name = "soulseekqt-${version}"; 31 + inherit version; 32 + src = srcs."${stdenv.system}" or (throw "unsupported system: ${stdenv.system}"); 33 + 34 + sourceRoot = "."; 35 + buildPhase = ":"; # nothing to build 36 + 37 + installPhase = '' 38 + mkdir -p $out/bin 39 + cp ${mainbin} $out/bin/soulseekqt 40 + ''; 41 + 42 + fixupPhase = '' 43 + patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 44 + --set-rpath ${libPath} \ 45 + $out/bin/soulseekqt 46 + ''; 47 + 48 + meta = with stdenv.lib; { 49 + description = "Official Qt SoulSeek client"; 50 + homepage = http://www.soulseekqt.net; 51 + license = licenses.unfree; 52 + maintainers = [ maintainers.genesis ]; 53 + platforms = [ "i686-linux" "x86_64-linux" ]; 54 + }; 55 + }
+2
pkgs/top-level/all-packages.nix
··· 17533 17533 inherit (pkgs.vamp) vampSDK; 17534 17534 }; 17535 17535 17536 + soulseekqt = callPackage ../applications/networking/p2p/soulseekqt { }; 17537 + 17536 17538 sox = callPackage ../applications/misc/audio/sox { 17537 17539 enableLame = config.sox.enableLame or false; 17538 17540 };