unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update
@ 2020-09-09  2:12 Kyle Meyer
  2020-09-09  2:16 ` [bug#43286] [PATCH 1/3] gnu: Add ghc-xml-hamlet Kyle Meyer
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Kyle Meyer @ 2020-09-09  2:12 UTC (permalink / raw)
  To: 43286

This series updates git-annex to the latest release.  Two new inputs are
needed because git-annex no longer supports disabling WebDAV support at build
time.

  [1/3] gnu: Add ghc-xml-hamlet.
  [2/3] gnu: Add ghc-dav.
  [3/3] gnu: git-annex: Update to 8.20200908.

 gnu/packages/haskell-apps.scm |  7 ++++---
 gnu/packages/haskell-web.scm  | 36 +++++++++++++++++++++++++++++++++++
 gnu/packages/haskell-xyz.scm  | 26 ++++++++++++++++++++++++-
 3 files changed, 65 insertions(+), 4 deletions(-)


base-commit: ee7a7c9014f7dd238ab42d15ef3f5f1fe187d1c3
-- 
2.28.0.618.gf4bc123cb7





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

* [bug#43286] [PATCH 1/3] gnu: Add ghc-xml-hamlet.
  2020-09-09  2:12 [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update Kyle Meyer
@ 2020-09-09  2:16 ` Kyle Meyer
  2020-09-09  2:16 ` [bug#43286] [PATCH 2/3] gnu: Add ghc-dav Kyle Meyer
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Kyle Meyer @ 2020-09-09  2:16 UTC (permalink / raw)
  To: 43286

* gnu/packages/haskell-xyz.scm (ghc-xml-hamlet): New variable.
---
 gnu/packages/haskell-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 08d6580a32..f4af00283c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -20,7 +20,7 @@
 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
 ;;; Copyright © 2019,2020 John Soo <jsoo1@asu.edu>
-;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
+;;; Copyright © 2019, 2020 Kyle Meyer <kyle@kyleam.com>
 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2020 JoJo <jo@jo.zone>
@@ -14712,6 +14712,30 @@ (define-public ghc-xml-types
 documents.")
     (license license:expat)))
 
+(define-public ghc-xml-hamlet
+  (package
+    (name "ghc-xml-hamlet")
+    (version "0.5.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/"
+                           "xml-hamlet-" version ".tar.gz"))
+       (sha256
+        (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-shakespeare" ,ghc-shakespeare)
+       ("ghc-xml-conduit" ,ghc-xml-conduit)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("ghc-hunit" ,ghc-hunit)))
+    (home-page "https://www.yesodweb.com/")
+    (synopsis "Hamlet-style quasiquoter for XML content")
+    (description "This package provides a type-safe tool for generating XML
+code via quasi-quoting built on top of @code{ghc-shakespeare}.")
+    (license license:bsd-3)))
+
 (define-public ghc-yaml
   (package
     (name "ghc-yaml")
-- 
2.28.0.618.gf4bc123cb7





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

* [bug#43286] [PATCH 2/3] gnu: Add ghc-dav.
  2020-09-09  2:12 [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update Kyle Meyer
  2020-09-09  2:16 ` [bug#43286] [PATCH 1/3] gnu: Add ghc-xml-hamlet Kyle Meyer
@ 2020-09-09  2:16 ` Kyle Meyer
  2020-09-09  2:16 ` [bug#43286] [PATCH 3/3] gnu: git-annex: Update to 8.20200908 Kyle Meyer
  2020-09-09  5:12 ` bug#43286: [PATCH 0/3] git-annex: Enable WebDAV support and update Timothy Sample
  3 siblings, 0 replies; 6+ messages in thread
From: Kyle Meyer @ 2020-09-09  2:16 UTC (permalink / raw)
  To: 43286

* gnu/packages/haskell-web.scm (ghc-dav): New variable.
---

`guix lint' flags the homepage with a connection timeout.  I haven't had any
luck connecting to it, but I also haven't been able to find anything else that
seems like it'd be appropriate as the homepage.

 gnu/packages/haskell-web.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index b9474c973a..98d163566c 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@gmail.com>
 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2020 Kyle Meyer <kyle@kyleam.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1945,3 +1946,38 @@ (define-public ghc-bower-json
      "This package provides a data type and ToJSON/FromJSON instances for
 Bower's package manifest file, bower.json.")
     (license license:expat)))
+
+(define-public ghc-dav
+  (package
+    (name "ghc-dav")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/DAV/DAV-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1isvi4fahq70lzxfz23as7qzkc01g7kba568l6flrgd0j1984fsy"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-case-insensitive" ,ghc-case-insensitive)
+       ("ghc-data-default" ,ghc-data-default)
+       ("ghc-exceptions" ,ghc-exceptions)
+       ("ghc-http-client" ,ghc-http-client)
+       ("ghc-http-client-tls" ,ghc-http-client-tls)
+       ("ghc-http-types" ,ghc-http-types)
+       ("ghc-lens" ,ghc-lens)
+       ("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)
+       ("ghc-utf8-string" ,ghc-utf8-string)
+       ("ghc-xml-conduit" ,ghc-xml-conduit)
+       ("ghc-xml-hamlet" ,ghc-xml-hamlet)
+       ("ghc-network" ,ghc-network)
+       ("ghc-network-uri" ,ghc-network-uri)
+       ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
+    (home-page "http://floss.scru.org/hDAV")
+    (synopsis "RFC 4918 WebDAV support")
+    (description "This package provides a library for the Web Distributed
+Authoring and Versioning (WebDAV) extensions to HTTP as well an executable,
+@command{hdav}, for command-line operation.")
+    (license license:gpl3)))
-- 
2.28.0.618.gf4bc123cb7





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

* [bug#43286] [PATCH 3/3] gnu: git-annex: Update to 8.20200908.
  2020-09-09  2:12 [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update Kyle Meyer
  2020-09-09  2:16 ` [bug#43286] [PATCH 1/3] gnu: Add ghc-xml-hamlet Kyle Meyer
  2020-09-09  2:16 ` [bug#43286] [PATCH 2/3] gnu: Add ghc-dav Kyle Meyer
@ 2020-09-09  2:16 ` Kyle Meyer
  2020-09-09  5:12 ` bug#43286: [PATCH 0/3] git-annex: Enable WebDAV support and update Timothy Sample
  3 siblings, 0 replies; 6+ messages in thread
From: Kyle Meyer @ 2020-09-09  2:16 UTC (permalink / raw)
  To: 43286

* gnu/packages/haskell-apps.scm (git-annex): Update to 8.20200908.
[arguments]: Drop flag to disable WebDAV because the latest release
unconditionally builds with WebDAV support.
[inputs]: Add ghc-dav.
---
 gnu/packages/haskell-apps.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index ddcd5c65ce..32e1c50852 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -339,18 +339,18 @@ (define-public ghcid
 (define-public git-annex
   (package
     (name "git-annex")
-    (version "8.20200810")
+    (version "8.20200908")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://hackage.haskell.org/package/"
                            "git-annex/git-annex-" version ".tar.gz"))
        (sha256
-        (base32 "1wy6ckcf5f6m94gakg1504h1zryail3mmj85sglq03s45vawjcg6"))))
+        (base32 "1113inl10f4m0699ba2zglaqlfqvwhqjkqg6r6m1d5rqv5brswb1"))))
     (build-system haskell-build-system)
     (arguments
      `(#:configure-flags
-       '("--flags=-Android -Assistant -Pairing -Webapp -WebDAV")
+       '("--flags=-Android -Assistant -Pairing -Webapp")
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'patch-shell-for-tests
@@ -448,6 +448,7 @@ (define-public git-annex
        ("ghc-crypto-api" ,ghc-crypto-api)
        ("ghc-cryptonite" ,ghc-cryptonite)
        ("ghc-data-default" ,ghc-data-default)
+       ("ghc-dav" ,ghc-dav)
        ("ghc-disk-free-space" ,ghc-disk-free-space)
        ("ghc-dlist" ,ghc-dlist)
        ("ghc-edit-distance" ,ghc-edit-distance)
-- 
2.28.0.618.gf4bc123cb7





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

* bug#43286: [PATCH 0/3] git-annex: Enable WebDAV support and update
  2020-09-09  2:12 [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update Kyle Meyer
                   ` (2 preceding siblings ...)
  2020-09-09  2:16 ` [bug#43286] [PATCH 3/3] gnu: git-annex: Update to 8.20200908 Kyle Meyer
@ 2020-09-09  5:12 ` Timothy Sample
  2020-09-10  0:21   ` [bug#43286] " Kyle Meyer
  3 siblings, 1 reply; 6+ messages in thread
From: Timothy Sample @ 2020-09-09  5:12 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: 43286-done

Hi Kyle,

Kyle Meyer <kyle@kyleam.com> writes:

> This series updates git-annex to the latest release.  Two new inputs are
> needed because git-annex no longer supports disabling WebDAV support at build
> time.
>
>   [1/3] gnu: Add ghc-xml-hamlet.
>   [2/3] gnu: Add ghc-dav.
>   [3/3] gnu: git-annex: Update to 8.20200908.

Pushed – thanks very much!

Oh, and about the homepage: I also had trouble connecting, and using the
Internet Archive showed that even when it worked (5 years ago) it was
only a link to Hackage and to the Git repo.  It might make more sense to
point it to <https://salsa.debian.org/clint/DAV>, but the other address
is still the project’s Web URL according to the project itself.  In the
end, I left it as-is.  I sent an email to the maintainer and will adjust
it if and when I hear anything.


-- Tim




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

* [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update
  2020-09-09  5:12 ` bug#43286: [PATCH 0/3] git-annex: Enable WebDAV support and update Timothy Sample
@ 2020-09-10  0:21   ` Kyle Meyer
  0 siblings, 0 replies; 6+ messages in thread
From: Kyle Meyer @ 2020-09-10  0:21 UTC (permalink / raw)
  To: Timothy Sample; +Cc: 43286

Timothy Sample writes:

> Oh, and about the homepage: I also had trouble connecting, and using the
> Internet Archive showed that even when it worked (5 years ago) it was
> only a link to Hackage and to the Git repo.  It might make more sense to
> point it to <https://salsa.debian.org/clint/DAV>, but the other address
> is still the project’s Web URL according to the project itself.  In the
> end, I left it as-is.  I sent an email to the maintainer and will adjust
> it if and when I hear anything.

All right, thank you!




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

end of thread, other threads:[~2020-09-10  0:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-09  2:12 [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and update Kyle Meyer
2020-09-09  2:16 ` [bug#43286] [PATCH 1/3] gnu: Add ghc-xml-hamlet Kyle Meyer
2020-09-09  2:16 ` [bug#43286] [PATCH 2/3] gnu: Add ghc-dav Kyle Meyer
2020-09-09  2:16 ` [bug#43286] [PATCH 3/3] gnu: git-annex: Update to 8.20200908 Kyle Meyer
2020-09-09  5:12 ` bug#43286: [PATCH 0/3] git-annex: Enable WebDAV support and update Timothy Sample
2020-09-10  0:21   ` [bug#43286] " Kyle Meyer

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