gnu: ruby-pandoc-ruby: Use pandoc instead of ghc-pandoc.
[jackhill/guix/guix.git] / gnu / packages / nicotine.scm
CommitLineData
7a3af1ae
MB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages nicotine)
20 #:use-module ((guix licenses) #:prefix license:)
21 #:use-module (guix packages)
22 #:use-module (guix git-download)
23 #:use-module (guix build-system python)
24 #:use-module (gnu packages python-xyz)
25 #:use-module (gnu packages glib)
26 #:use-module (gnu packages gtk)
27 #:use-module (gnu packages check)
28 #:use-module (gnu packages music))
29
30(define-public nicotine+
31 (package
32 (name "nicotine+")
33 (version "2.0.1")
34 (source (origin
35 (method git-fetch)
36 (uri (git-reference
37 (url "https://github.com/Nicotine-Plus/nicotine-plus")
38 (commit version)))
39 (file-name (git-file-name name version))
40 (sha256 (base32 "07xagm6kwy8b6gcdv5vx78yqfllkz1gvlakkf0hi2c9ivncq457g"))))
41 (build-system python-build-system)
42 (arguments
43 '(#:phases
44 (modify-phases %standard-phases
45 (add-after 'install 'wrap-program
46 (lambda* (#:key outputs #:allow-other-keys)
47 (let ((prog (string-append
48 (assoc-ref outputs "out")
49 "/bin/nicotine"))
50 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
51 (wrap-program prog
52 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
53 #t))))))
54 (inputs
55 `(("python-pygobject" ,python-pygobject)
56 ("python-mutagen" ,python-mutagen)
57 ("python-dbus" ,python-dbus)
58 ("gtk+" ,gtk+)))
59 (native-inputs
60 `(("python-pytest" ,python-pytest)))
61 (home-page "https://nicotine-plus.github.io/nicotine-plus/")
62 (synopsis "Graphical client for Soulseek")
63 (description
64 "Nicotine+ is a graphical client for the Soulseek peer-to-peer
65file sharing network. It is an attempt to keep Nicotine working with
66the latest libraries, kill bugs, keep current with the Soulseek protocol,
67and add some new features that users want and/or need.")
68 (license license:gpl3+)))