* gnu/packages/python.scm (python-mpd2): New variable * gnu/packages/python.scm Import lgpl3. --- gnu/packages/python.scm | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 24af2d8..73dab38 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -36,9 +36,9 @@ (define-module (gnu packages python) #:use-module ((guix licenses) #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style - gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+ agpl3+ - isc mpl2.0 psfl public-domain unlicense x11-style - zpl2.1)) + gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3 lgpl3+ + agpl3+ isc mpl2.0 psfl public-domain unlicense + x11-style zpl2.1)) #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages attr) @@ -758,6 +758,35 @@ have been used.") (package-with-python2 python-mock)) +(define-public python-mpd2 + (package + (name "python-mpd2") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-mpd2" version)) + (sha256 + (base32 + "0laypd7h1j14b4vrmiayqlzdsh2j5hc3zv4l0fqvbrbw9y6763ii")))) + (build-system python-build-system) + (arguments + `(#:phases + (alist-replace + 'check + (lambda _ (zero? (system* "python" "mpd_test.py"))) + %standard-phases))) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-mock" ,python-mock) + ("python-unittest2" ,python-unittest2))) + (home-page + "https://github.com/Mic92/python-mpd2") + (synopsis "Python MPD client library") + (description "A Python MPD client library") + (license lgpl3))) + + (define-public python-setuptools (package (name "python-setuptools") -- 2.7.0