unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55731] [PATCH] gnu: Add python-musical-scales
@ 2022-05-30 20:01 Artyom V. Poptsov
  2022-06-05 18:50 ` bug#55731: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2022-05-30 20:01 UTC (permalink / raw)
  To: 55731


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

Hello,

this patch adds "musical-scales" Python module[1] under the name
"python-musical-scales".

References:
1. "Retrieve a scale based on a given mode and starting note."
   https://github.com/hmillerbakewell/musical-scales

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-musical-scales.patch --]
[-- Type: text/x-diff, Size: 1601 bytes --]

From bdd66c0ec7cb5d19f6210cbda3b1d465322a7864 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Mon, 30 May 2022 22:57:49 +0300
Subject: [PATCH] gnu: Add python-musical-scales

* gnu/packages/python-xyz.scm (python-musical-scales): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index acd5954fb6..1f106d0075 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31838,3 +31838,25 @@ profile.  It supports:
 
 Currently, Linux is the only platform supported by this library.")
     (license license:expat)))
+
+(define-public python-musical-scales
+  (package
+    (name "python-musical-scales")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "musical-scales" version))
+              (sha256
+               (base32
+                "1ckn8n37i7b65h0i385ycn0w8sg9na0iabz0kmhxxc1wj0hddkw9"))))
+    (build-system python-build-system)
+    (native-inputs (list python-wheel))
+    (inputs (list python))
+    (home-page "https://github.com/hmillerbakewell/musical-scales")
+    (synopsis "Retrieve a scale based on a given mode and starting note")
+    (description
+     "Retrieve a scale based on a given mode and starting note.
+Information about these scales can be
+@url{https://en.wikipedia.org/wiki/List_of_musical_scales_and_modes, found on
+Wikipedia}.")
+    (license license:expat)))
-- 
2.25.1


[-- Attachment #1.3: Type: text/plain, Size: 207 bytes --]


-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#55731: [PATCH] gnu: Add python-musical-scales
  2022-05-30 20:01 [bug#55731] [PATCH] gnu: Add python-musical-scales Artyom V. Poptsov
@ 2022-06-05 18:50 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2022-06-05 18:50 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 55731-done


Hello Artyom,

> +    (inputs (list python))

I removed this implicit line and pushed.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-05 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30 20:01 [bug#55731] [PATCH] gnu: Add python-musical-scales Artyom V. Poptsov
2022-06-05 18:50 ` bug#55731: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).