Subject: [PATCH] gnu: Add python-mozilla-repo-urls.

From: Adam Faiz <[email-masked]>
Date: Fri, 10 Mar 2023 00:48:42 +0800

From 9b78a69c98646b5e5d0efef029522b81b71e5be6 Mon Sep 17 00:00:00 2001
Message-Id: <9[email-masked]>
In-Reply-To: <f[email-masked]>
References: <f[email-masked]>
From: AwesomeAdam54321 <[email-masked]>
Date: Thu, 9 Mar 2023 22:02:39 +0800
Subject: [PATCH] gnu: Add python-mozilla-repo-urls.

* gnu/packages/python-xyz.scm (python-mozilla-repo-urls): New variable.
---
  gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
  1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d4f0a83a5d..2a5732fdad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3612,6 +3612,33 @@ (define-public python-redo
  retry to any Python callable.")
      (license license:mpl2.0)))
  
+(define-public python-mozilla-repo-urls
+  (package
+    (name "python-mozilla-repo-urls")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)               ;version.txt not in pypi release
+       (uri (git-reference
+             (url "https://github.com/mozilla-releng/mozilla-repo-urls")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "13fzkw59yhphyc5n8w286i4rbh9j93wh015b1b3lc4pbcy1wxnkj"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-pytest))
+    (propagated-inputs
+     (list python-giturlparse))
+    (home-page "https://github.com/mozilla-releng/mozilla-repo-urls")
+    (synopsis
+     "Process Mozilla's repository URLs")
+    (description
+     "This package processes Mozilla's repository URLs.
+  The intent is to centralize URLs parsing.")
+    (license license:mpl2.0)))
+
  (define-public python-py
    (package
      (name "python-py")
-- 
2.39.2