diff mbox series

[bug#44423,3/3] gnu: Update gmnisrv.

Message ID 20201103191918.7944-3-brown121407@posteo.ro
State Accepted
Headers show
Series Update gmnisrv. | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Alexandru-Sergiu Marton Nov. 3, 2020, 7:19 p.m. UTC
* gnu/packages/web.scm (gmnisrv): Update to commit
d484ba0ab0020866535a44be5948c9482b8f2b8d.
---
 gnu/packages/web.scm | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Comments

Christopher Baines Nov. 14, 2020, 11:43 a.m. UTC | #1
Alexandru-Sergiu Marton <brown121407@posteo.ro> writes:

> * gnu/packages/web.scm (gmnisrv): Update to commit
> d484ba0ab0020866535a44be5948c9482b8f2b8d.

I changed the commit message to:

gnu: gmnisrv: Update to 0-1.d484ba0.

* gnu/packages/web.scm (gmnisrv): Update to 0-1.d484ba0.
[arguments]: Remove the install-config phase.
[propagated-inputs]: Add mailcap.


> ---
>  gnu/packages/web.scm | 19 ++++++++-----------
>  1 file changed, 8 insertions(+), 11 deletions(-)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 93399b3459..0f7c5fe2e9 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -129,6 +129,7 @@
>    #:use-module (gnu packages lisp-xyz)
>    #:use-module (gnu packages lsof)
>    #:use-module (gnu packages lua)
> +  #:use-module (gnu packages mail)
>    #:use-module (gnu packages man)
>    #:use-module (gnu packages markup)
>    #:use-module (gnu packages ncurses)
> @@ -7706,10 +7707,11 @@ solution for any project's interface needs:
>      (license license:expat)))
>  
>  (define-public gmnisrv
> -  (let ((commit "a22bec51494a50c044416d469cc33e043480e7fd"))
> +  (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
> +        (revision "1"))
>      (package
>        (name "gmnisrv")
> -      (version (git-version "0" "0" commit))
> +      (version (git-version "0" revision commit))
>        (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
>        (source (origin
>                  (method git-fetch)
> @@ -7718,7 +7720,7 @@ solution for any project's interface needs:
>                        (commit commit)))
>                  (sha256
>                   (base32
> -                  "1k1n7cqd37jgbhxyh231bagdxdxqwpr6n5pk3gax2516w6xbzlb9"))
> +                  "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
>                  (file-name (git-file-name name version))))
>        (build-system gnu-build-system)
>        (arguments
> @@ -7728,19 +7730,14 @@ solution for any project's interface needs:
>               (lambda _
>                 (setenv "CC" "gcc")
>                 #t))
> -           (delete 'check)
> -           (add-after 'install 'install-config
> -             (lambda* (#:key outputs #:allow-other-keys)
> -               (let ((etc (string-append (assoc-ref outputs "out")
> -                                         "/etc")))
> -                 (mkdir-p etc)
> -                 (copy-file "config.ini" (string-append etc "/gmnisrv.ini"))
> -                 #t))))))
> +           (delete 'check))))
>        (inputs
>         `(("openssl" ,openssl)))
>        (native-inputs
>         `(("pkg-config" ,pkg-config)
>           ("scdoc" ,scdoc)))
> +      (propagated-inputs
> +       `(("mailcap" ,mailcap)))
>        (synopsis "Simple Gemini protocol server")
>        (description "gmnisrv is a simple Gemini protocol server written in C.")
>        (license (list license:gpl3+
diff mbox series

Patch

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 93399b3459..0f7c5fe2e9 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -129,6 +129,7 @@ 
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages lsof)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages mail)
   #:use-module (gnu packages man)
   #:use-module (gnu packages markup)
   #:use-module (gnu packages ncurses)
@@ -7706,10 +7707,11 @@  solution for any project's interface needs:
     (license license:expat)))
 
 (define-public gmnisrv
-  (let ((commit "a22bec51494a50c044416d469cc33e043480e7fd"))
+  (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
+        (revision "1"))
     (package
       (name "gmnisrv")
-      (version (git-version "0" "0" commit))
+      (version (git-version "0" revision commit))
       (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
       (source (origin
                 (method git-fetch)
@@ -7718,7 +7720,7 @@  solution for any project's interface needs:
                       (commit commit)))
                 (sha256
                  (base32
-                  "1k1n7cqd37jgbhxyh231bagdxdxqwpr6n5pk3gax2516w6xbzlb9"))
+                  "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
                 (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
@@ -7728,19 +7730,14 @@  solution for any project's interface needs:
              (lambda _
                (setenv "CC" "gcc")
                #t))
-           (delete 'check)
-           (add-after 'install 'install-config
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let ((etc (string-append (assoc-ref outputs "out")
-                                         "/etc")))
-                 (mkdir-p etc)
-                 (copy-file "config.ini" (string-append etc "/gmnisrv.ini"))
-                 #t))))))
+           (delete 'check))))
       (inputs
        `(("openssl" ,openssl)))
       (native-inputs
        `(("pkg-config" ,pkg-config)
          ("scdoc" ,scdoc)))
+      (propagated-inputs
+       `(("mailcap" ,mailcap)))
       (synopsis "Simple Gemini protocol server")
       (description "gmnisrv is a simple Gemini protocol server written in C.")
       (license (list license:gpl3+