unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jacob Hrbek <kreyren@rixotstudio.cz>
To: help-guix@gnu.org
Subject: Howddya specify max supported dependency version for a package?
Date: Sun, 16 Jan 2022 07:03:53 +0000	[thread overview]
Message-ID: <162e0cf1-5e35-97d4-3bb2-4337cb07803e@rixotstudio.cz> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2891 bytes --]

(define-public qbittorrent
   (package
     (name "qbittorrent")
     (version "4.2.5")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/qbittorrent/qBittorrent")
              (commit (string-append "release-" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "1n613ylg6i9gisgk0dbr2kpfasyizrkdjff1r8smd4vri2qrdksn"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
        (list (string-append "--with-boost-libdir="
                             (assoc-ref %build-inputs "boost")
                             "/lib")
              "--enable-debug"
              "QMAKE_LRELEASE=lrelease")
        #:modules ((guix build gnu-build-system)
                   (guix build qt-utils)
                   (guix build utils))
        #:imported-modules (,@%gnu-build-system-modules
                            (guix build qt-utils))
        #:phases
        (modify-phases %standard-phases
          (add-after 'install 'wrap-qt
            (lambda* (#:key outputs inputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
                (wrap-qt-program "qbittorrent" #:output out #:inputs 
inputs))
              #t)))))
     (native-inputs
      (list pkg-config qttools))
     (inputs
      `(("boost" ,boost)
        ("libtorrent-rasterbar" ,libtorrent-rasterbar)
        ("openssl" ,openssl)
     ;; NOTE(Krey): Max supported version declared in 
https://github.com/qbittorrent/qBittorrent/blob/5c0378a6845e3484023f4c76893ff9f0e5178460/src/base/utils/foreignapps.cpp#L269
        ("python" ,python-wrapper)
        ("qtbase" ,qtbase-5)
        ("qtsvg" ,qtsvg)
        ("zlib" ,zlib)))
     (home-page "https://www.qbittorrent.org/")
     (synopsis "Graphical BitTorrent client")
     (description
      "qBittorrent is a BitTorrent client programmed in C++/Qt that uses
libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.

It aims to be a good alternative to all other BitTorrent clients out there.
qBittorrent is fast, stable and provides unicode support as well as many
features.")
     (license l:gpl2+)))


I am trying to make a patch to fix 
https://github.com/qbittorrent/qBittorrent/issues/16139 which is caused 
by us using an unsupported python version -> How can i specify that the 
package is only allowed to use python 3.2 <= 3.5.0 ?

-- 
Jacob Hrbek


[-- Attachment #1.2: publickey - kreyren@rixotstudio.cz - 1677db82.asc --]
[-- Type: application/pgp-keys, Size: 713 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

             reply	other threads:[~2022-01-16  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-16  7:03 Jacob Hrbek [this message]
2022-01-16  8:46 ` Howddya specify max supported dependency version for a package? Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162e0cf1-5e35-97d4-3bb2-4337cb07803e@rixotstudio.cz \
    --to=kreyren@rixotstudio.cz \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).