From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GHQJEKNbPV/HBAAA0tVLHw (envelope-from ) for ; Wed, 19 Aug 2020 17:04:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UC3RC6NbPV9iXgAAB5/wlQ (envelope-from ) for ; Wed, 19 Aug 2020 17:04:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E879F9403CB for ; Wed, 19 Aug 2020 17:04:33 +0000 (UTC) Received: from localhost ([::1]:36160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8RVo-0000PS-Mk for larch@yhetil.org; Wed, 19 Aug 2020 13:04:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8RVK-00085N-G7 for guix-patches@gnu.org; Wed, 19 Aug 2020 13:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8RVK-0005Bm-6Y for guix-patches@gnu.org; Wed, 19 Aug 2020 13:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8RVK-0001EF-28 for guix-patches@gnu.org; Wed, 19 Aug 2020 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42935] [PATCH] gnu: Add nicotine. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Aug 2020 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42935 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42935@debbugs.gnu.org Cc: Martin Becze X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15978566164687 (code B ref -1); Wed, 19 Aug 2020 17:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2020 17:03:36 +0000 Received: from localhost ([127.0.0.1]:40866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8RUt-0001DX-MF for submit@debbugs.gnu.org; Wed, 19 Aug 2020 13:03:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:41360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8RUs-0001DQ-2b for submit@debbugs.gnu.org; Wed, 19 Aug 2020 13:03:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8RUr-0007f4-Sq for guix-patches@gnu.org; Wed, 19 Aug 2020 13:03:33 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8RUp-00059Z-Dw for guix-patches@gnu.org; Wed, 19 Aug 2020 13:03:33 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BWvHj5fJPzFmGC for ; Wed, 19 Aug 2020 10:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1597856609; bh=/PnP4vS5l00Y8tdZ9/xmp+wE/exNvJn4p+TSdU7YwpI=; h=From:To:Cc:Subject:Date:From; b=K7To4hrOkrZcFIRyXNjvnTMDAqUrmnoawrXVy9ybxSvhZMhCIlhc/a5tlglYIdI1l /Ltc/4CAdVKK+WV9zlJl93HXJc8oqYkKw/tNeg3TENxcgNlEQahmvsTl+BEgYhu8Hr ExVurBGQZiLuGTDNehdDTfQLDdOiNw/Z1+2lymzE= X-Riseup-User-ID: 5F84569D62619909553A55197DD224A08607F5F47F6B76DCB2C3355854031A74 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BWvHh6strzJpmr; Wed, 19 Aug 2020 10:03:28 -0700 (PDT) From: Martin Becze Date: Wed, 19 Aug 2020 12:03:18 -0500 Message-Id: <20200819170318.20989-1-mjbecze@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=mjbecze@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 13:03:29 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=riseup.net header.s=squak header.b=K7To4hrO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: 2R3WGeRsIefE * gnu/packages/nicotine.scm (nicotine): New variable. --- gnu/packages/nicotine.scm | 67 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 gnu/packages/nicotine.scm diff --git a/gnu/packages/nicotine.scm b/gnu/packages/nicotine.scm new file mode 100644 index 0000000000..1807dcee14 --- /dev/null +++ b/gnu/packages/nicotine.scm @@ -0,0 +1,67 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Martin Becze +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages nicotine) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system python) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages check) + #:use-module (gnu packages music)) + +(define-public nicotine + (package + (name "nicotine") + (version "2.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Nicotine-Plus/nicotine-plus") + (commit version))) + (sha256 (base32 "07xagm6kwy8b6gcdv5vx78yqfllkz1gvlakkf0hi2c9ivncq457g")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-assword + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append + (assoc-ref outputs "out") + "/bin/nicotine")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program prog + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))) + #t)))))) + (inputs + `(("python-pygobject" ,python-pygobject) + ("python-mutagen" ,python-mutagen) + ("python-dbus" ,python-dbus) + ("gtk+" ,gtk+))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://nicotine-plus.github.io/nicotine-plus/") + (synopsis "Graphical client for Soulseek") + (description + "Nicotine+ is a graphical client for the Soulseek peer-to-peer +file sharing network. It is an attempt to keep Nicotine working with +the latest libraries, kill bugs, keep current with the Soulseek protocol, +and add some new features that users want and/or need.") + (license license:gpl3+))) -- 2.28.0