all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 64700@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#64700] [PATCH] gnu: Add python-scm-sr-ht.
Date: Tue, 18 Jul 2023 14:48:59 +0200	[thread overview]
Message-ID: <05ab557548dec022ab277bdaa0301a7299a22b2f.1689684539.git.rekado@elephly.net> (raw)
In-Reply-To: <55c4f6aadd19839a82c6c5f38084377af8896221.1689680115.git.rekado@elephly.net>

* gnu/packages/sourcehut.scm (python-scm-sr-ht): New variable.
---
 gnu/packages/sourcehut.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/sourcehut.scm b/gnu/packages/sourcehut.scm
index 382c357d78..9222101b84 100644
--- a/gnu/packages/sourcehut.scm
+++ b/gnu/packages/sourcehut.scm
@@ -79,3 +79,34 @@ (define-public python-core-sr-ht
     (description
      "This package contains code shared among all sr.ht projects.")
     (license license:bsd-3)))
+
+(define-public python-scm-sr-ht
+  (package
+    (name "python-scm-sr-ht")
+    (version "0.22.23")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.sr.ht/~sircmpwn/scm.sr.ht")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1p1nlwqfqfb89nky8sp4jh4vjnh8fm2mdx8inziqs3898qw1v7yk"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #false                   ;there are none
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-version
+            (lambda _ (setenv "PKGVER" #$version))))))
+    (propagated-inputs
+     (list python-core-sr-ht))
+    (home-page "https://git.sr.ht/~sircmpwn/scm.sr.ht")
+    (synopsis "Shared support code for sr.ht source control services")
+    (description
+     "This package provides shared support code for sr.ht source control
+services.")
+    (license license:agpl3)))

base-commit: 3a3752400d7a70a295a27b66f29457aeeaa2cf27
prerequisite-patch-id: 80d1fed622f0306a9ff2f0ca55ed10a24b7f283a
-- 
2.40.1





  reply	other threads:[~2023-07-18 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 11:35 [bug#64700] [PATCH] gnu: Add python-core-sr-ht Ricardo Wurmus
2023-07-18 12:48 ` Ricardo Wurmus [this message]
2023-07-19  7:07 ` Hilton Chain via Guix-patches via
2023-07-19  9:27   ` Ricardo Wurmus
2023-07-19 13:38     ` Hilton Chain via Guix-patches via
2023-08-01  7:44 ` bug#64700: " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=05ab557548dec022ab277bdaa0301a7299a22b2f.1689684539.git.rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=64700@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.