[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51208] [PATCH v2 1/2] gnu: Add python-pycdio.
From: |
Vinicius Monego |
Subject: |
[bug#51208] [PATCH v2 1/2] gnu: Add python-pycdio. |
Date: |
Mon, 1 Nov 2021 18:03:24 +0000 |
* gnu/packages/cdrom.scm (python-pycdio): New variable.
---
gnu/packages/cdrom.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 66a259f261..5551536408 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,6 +39,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system python)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (gnu packages)
@@ -45,6 +47,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
@@ -69,6 +72,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages image)
#:use-module (gnu packages photo)
+ #:use-module (gnu packages swig)
#:use-module (gnu packages tcl)
#:use-module (gnu packages video)
#:use-module (gnu packages wget)
@@ -612,6 +616,29 @@ the data.")
from an audio CD.")
(license gpl2+)))
+(define-public python-pycdio
+ (package
+ (name "python-pycdio")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pycdio" version))
+ (sha256
+ (base32 "1y590j804f2chpw0dyvwlmrmk7rzbp0y58idrfib3dslqnw4swv1"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python-nose" ,python-nose)
+ ("swig" ,swig)))
+ (inputs
+ `(("libcdio" ,libcdio)))
+ (home-page "https://www.gnu.org/software/libcdio/")
+ (synopsis "Python OO interface to libcdio")
+ (description "@code{pycdio} is a Python OO interface to @code{libcdio}
+(CD Input and Control library).")
+ (license gpl3+)))
+
(define-public abcde
(package
(name "abcde")
base-commit: 142344b6efa42e1a4d57a4bdf14dfb3ca1cba25a
--
2.30.2
- [bug#51208] [PATCH v2 1/2] gnu: Add python-pycdio.,
Vinicius Monego <=