GNU bug report logs - #25866
[PATCH] gnu: Add darcs.

Previous Next

Package: guix-patches;

Reported by: contact.ng0 <at> cryptolab.net

Date: Fri, 24 Feb 2017 21:05:02 UTC

Severity: normal

Tags: patch

Done: Kei Kebreau <kei <at> openmailbox.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25866 in the body.
You can then email your comments to 25866 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#25866; Package guix-patches. (Fri, 24 Feb 2017 21:05:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to contact.ng0 <at> cryptolab.net:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 24 Feb 2017 21:05:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: contact.ng0 <at> cryptolab.net
To: guix-patches <at> gnu.org
Cc: ng0 <ng0 <at> we.make.ritual.n0.is>
Subject: [PATCH] gnu: Add darcs.
Date: Fri, 24 Feb 2017 21:04:18 +0000
From: ng0 <ng0 <at> we.make.ritual.n0.is>

* gnu/packages/version-control.scm (darcs): New variable.
---
 gnu/packages/version-control.scm | 93 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 93 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 5c371b0ba..0cf19db2f 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -35,6 +35,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system haskell)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages apr)
@@ -50,6 +51,7 @@
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages groff)
+  #:use-module (gnu packages haskell)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages nano)
   #:use-module (gnu packages ncurses)
@@ -1301,3 +1303,94 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.")
     (description "Stagit creates static pages for git repositories, the results can
 be served with a HTTP file server of your choice.")
     (license license:expat)))
+
+;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
+;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
+;; and results of search engines will show that if the protocol is http, https
+;; is never mentioned.
+(define-public darcs
+  (package
+    (name "darcs")
+    (version "2.12.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/darcs/"
+                           "darcs-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
+                           "-fnetwork-uri" "-fhttp" "--flag=executable"
+                           "--flag=library")
+       #:tests? #f)) ; 20 failing shell tests out of over 400
+    (inputs
+     `(("ghc-cmdargs" ,ghc-cmdargs)
+       ("ghc-split" ,ghc-split)
+       ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+       ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+       ("ghc-test-framework" ,ghc-test-framework)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-findbin" ,ghc-findbin)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-array" ,ghc-array)
+       ("ghc-async" ,ghc-async)
+       ("ghc-attoparsec" ,ghc-attoparsec)
+       ("ghc-base16-bytestring" ,ghc-base16-bytestring)
+       ("ghc-binary" ,ghc-binary)
+       ("ghc-bytestring-builder" ,ghc-bytestring-builder)
+       ("ghc-cryptohash" ,ghc-cryptohash)
+       ("ghc-data-ordlist" ,ghc-data-ordlist)
+       ("ghc-directory" ,ghc-directory)
+       ("ghc-fgl" ,ghc-fgl)
+       ("ghc-system-filepath" ,ghc-system-filepath)
+       ("ghc-graphviz" ,ghc-graphviz)
+       ("ghc-hashable" ,ghc-hashable)
+       ("ghc-haskeline" ,ghc-haskeline)
+       ("ghc-html" ,ghc-html)
+       ("ghc-mmap" ,ghc-mmap)
+       ("ghc-mtl" ,ghc-mtl)
+       ("ghc-old-time" ,ghc-old-time)
+       ("ghc-parsec" ,ghc-parsec)
+       ("ghc-process" ,ghc-process)
+       ("ghc-random" ,ghc-random)
+       ("ghc-regex-applicative" ,ghc-regex-applicative)
+       ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa)
+       ("ghc-sandi" ,ghc-sandi)
+       ("ghc-shelly" ,ghc-shelly)
+       ("ghc-tar" ,ghc-tar)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)
+       ("ghc-unix-compat" ,ghc-unix-compat)
+       ("ghc-utf8-string" ,ghc-utf8-string)
+       ("ghc-vector" ,ghc-vector)
+       ("ghc-zip-archive" ,ghc-zip-archive)
+       ("ghc-zlib" ,ghc-zlib)
+       ("ghc-http" ,ghc-http)
+       ("curl" ,curl)
+       ("ghc" ,ghc)
+       ("ncurses" ,ncurses)
+       ("perl" ,perl)
+       ("libiconv" ,libiconv)
+       ("ghc-network" ,ghc-network)
+       ("ghc-network-uri" ,ghc-network-uri)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://darcs.net")
+    (synopsis "Distributed Revision Control System")
+    (description
+     "Darcs is a revision control system.  It is:
+
+@enumerate
+@item Distributed: Every user has access to the full command set, removing boundaries
+between server and client or committer and non-committers.
+@item Interactive: Darcs is easy to learn and efficient to use because it asks you
+questions in response to simple commands, giving you choices in your work flow.
+You can choose to record one change in a file, while ignoring another.  As you update
+from upstream, you can review each patch name, even the full diff for interesting
+patches.
+@item Smart: Originally developed by physicist David Roundy, darcs is based on a
+unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
+@end enumerate")
+    (license license:gpl2)))
-- 
2.11.1





Information forwarded to guix-patches <at> gnu.org:
bug#25866; Package guix-patches. (Fri, 24 Feb 2017 21:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 25866 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: 25866 <at> debbugs.gnu.org
Subject: Re: bug#25866: [PATCH] gnu: Add darcs.
Date: Fri, 24 Feb 2017 21:17:32 +0000
On 17-02-24 21:04:18, contact.ng0 <at> cryptolab.net wrote:
> From: ng0 <ng0 <at> we.make.ritual.n0.is>
> 
> * gnu/packages/version-control.scm (darcs): New variable.

For previous discussion, QA, etc use the archives starting September.
It is good-as-is, the last problem is a problem caused by the unresolved
<https://bugs.gnu.org/25240> directly or indirectly, and can not be
fixed by this package (darcs) alone at this point.

For the version, it depends on so many haskell packages with fixed
versions, that I know these work for the version I packaged, which is
one below recent release now. I want this to be added first as it is
proven to work and build.

Leo, I compared http://paste.lisp.org/display/339879 with my branch and
the changes I had were locally, your paste was older than my version :)
Cosmetic fixes mostly.

> ---
>  gnu/packages/version-control.scm | 93 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 93 insertions(+)
> 
> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> index 5c371b0ba..0cf19db2f 100644
> --- a/gnu/packages/version-control.scm
> +++ b/gnu/packages/version-control.scm
> @@ -35,6 +35,7 @@
>    #:use-module (guix git-download)
>    #:use-module (guix build-system cmake)
>    #:use-module (guix build-system gnu)
> +  #:use-module (guix build-system haskell)
>    #:use-module (guix build-system python)
>    #:use-module (guix build-system trivial)
>    #:use-module (gnu packages apr)
> @@ -50,6 +51,7 @@
>    #:use-module (gnu packages flex)
>    #:use-module (gnu packages gettext)
>    #:use-module (gnu packages groff)
> +  #:use-module (gnu packages haskell)
>    #:use-module (gnu packages linux)
>    #:use-module (gnu packages nano)
>    #:use-module (gnu packages ncurses)
> @@ -1301,3 +1303,94 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.")
>      (description "Stagit creates static pages for git repositories, the results can
>  be served with a HTTP file server of your choice.")
>      (license license:expat)))
> +
> +;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
> +;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
> +;; and results of search engines will show that if the protocol is http, https
> +;; is never mentioned.
> +(define-public darcs
> +  (package
> +    (name "darcs")
> +    (version "2.12.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://hackage.haskell.org/package/darcs/"
> +                           "darcs-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
> +    (build-system haskell-build-system)
> +    (arguments
> +     `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
> +                           "-fnetwork-uri" "-fhttp" "--flag=executable"
> +                           "--flag=library")
> +       #:tests? #f)) ; 20 failing shell tests out of over 400
> +    (inputs
> +     `(("ghc-cmdargs" ,ghc-cmdargs)
> +       ("ghc-split" ,ghc-split)
> +       ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
> +       ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
> +       ("ghc-test-framework" ,ghc-test-framework)
> +       ("ghc-quickcheck" ,ghc-quickcheck)
> +       ("ghc-findbin" ,ghc-findbin)
> +       ("ghc-hunit" ,ghc-hunit)
> +       ("ghc-array" ,ghc-array)
> +       ("ghc-async" ,ghc-async)
> +       ("ghc-attoparsec" ,ghc-attoparsec)
> +       ("ghc-base16-bytestring" ,ghc-base16-bytestring)
> +       ("ghc-binary" ,ghc-binary)
> +       ("ghc-bytestring-builder" ,ghc-bytestring-builder)
> +       ("ghc-cryptohash" ,ghc-cryptohash)
> +       ("ghc-data-ordlist" ,ghc-data-ordlist)
> +       ("ghc-directory" ,ghc-directory)
> +       ("ghc-fgl" ,ghc-fgl)
> +       ("ghc-system-filepath" ,ghc-system-filepath)
> +       ("ghc-graphviz" ,ghc-graphviz)
> +       ("ghc-hashable" ,ghc-hashable)
> +       ("ghc-haskeline" ,ghc-haskeline)
> +       ("ghc-html" ,ghc-html)
> +       ("ghc-mmap" ,ghc-mmap)
> +       ("ghc-mtl" ,ghc-mtl)
> +       ("ghc-old-time" ,ghc-old-time)
> +       ("ghc-parsec" ,ghc-parsec)
> +       ("ghc-process" ,ghc-process)
> +       ("ghc-random" ,ghc-random)
> +       ("ghc-regex-applicative" ,ghc-regex-applicative)
> +       ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa)
> +       ("ghc-sandi" ,ghc-sandi)
> +       ("ghc-shelly" ,ghc-shelly)
> +       ("ghc-tar" ,ghc-tar)
> +       ("ghc-transformers-compat" ,ghc-transformers-compat)
> +       ("ghc-unix-compat" ,ghc-unix-compat)
> +       ("ghc-utf8-string" ,ghc-utf8-string)
> +       ("ghc-vector" ,ghc-vector)
> +       ("ghc-zip-archive" ,ghc-zip-archive)
> +       ("ghc-zlib" ,ghc-zlib)
> +       ("ghc-http" ,ghc-http)
> +       ("curl" ,curl)
> +       ("ghc" ,ghc)
> +       ("ncurses" ,ncurses)
> +       ("perl" ,perl)
> +       ("libiconv" ,libiconv)
> +       ("ghc-network" ,ghc-network)
> +       ("ghc-network-uri" ,ghc-network-uri)))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (home-page "http://darcs.net")
> +    (synopsis "Distributed Revision Control System")
> +    (description
> +     "Darcs is a revision control system.  It is:
> +
> +@enumerate
> +@item Distributed: Every user has access to the full command set, removing boundaries
> +between server and client or committer and non-committers.
> +@item Interactive: Darcs is easy to learn and efficient to use because it asks you
> +questions in response to simple commands, giving you choices in your work flow.
> +You can choose to record one change in a file, while ignoring another.  As you update
> +from upstream, you can review each patch name, even the full diff for interesting
> +patches.
> +@item Smart: Originally developed by physicist David Roundy, darcs is based on a
> +unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
> +@end enumerate")
> +    (license license:gpl2)))
> -- 
> 2.11.1
> 
> 
> 
> 




Reply sent to Kei Kebreau <kei <at> openmailbox.org>:
You have taken responsibility. (Mon, 10 Apr 2017 21:30:02 GMT) Full text and rfc822 format available.

Notification sent to contact.ng0 <at> cryptolab.net:
bug acknowledged by developer. (Mon, 10 Apr 2017 21:30:03 GMT) Full text and rfc822 format available.

Message #13 received at 25866-done <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: 25866-done <at> debbugs.gnu.org
Subject: Re: bug#25866: [PATCH] gnu: Add darcs.
Date: Mon, 10 Apr 2017 17:28:45 -0400
[Message part 1 (text/plain, inline)]
ng0 <contact.ng0 <at> cryptolab.net> writes:

> On 17-02-24 21:04:18, contact.ng0 <at> cryptolab.net wrote:
>> From: ng0 <ng0 <at> we.make.ritual.n0.is>
>> 
>> * gnu/packages/version-control.scm (darcs): New variable.
>
> For previous discussion, QA, etc use the archives starting September.
> It is good-as-is, the last problem is a problem caused by the unresolved
> <https://bugs.gnu.org/25240> directly or indirectly, and can not be
> fixed by this package (darcs) alone at this point.
>
> For the version, it depends on so many haskell packages with fixed
> versions, that I know these work for the version I packaged, which is
> one below recent release now. I want this to be added first as it is
> proven to work and build.
>
> Leo, I compared http://paste.lisp.org/display/339879 with my branch and
> the changes I had were locally, your paste was older than my version :)
> Cosmetic fixes mostly.
>
>> ---
>>  gnu/packages/version-control.scm | 93 ++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 93 insertions(+)
>> 
>> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
>> index 5c371b0ba..0cf19db2f 100644
>> --- a/gnu/packages/version-control.scm
>> +++ b/gnu/packages/version-control.scm
>> @@ -35,6 +35,7 @@
>>    #:use-module (guix git-download)
>>    #:use-module (guix build-system cmake)
>>    #:use-module (guix build-system gnu)
>> +  #:use-module (guix build-system haskell)
>>    #:use-module (guix build-system python)
>>    #:use-module (guix build-system trivial)
>>    #:use-module (gnu packages apr)
>> @@ -50,6 +51,7 @@
>>    #:use-module (gnu packages flex)
>>    #:use-module (gnu packages gettext)
>>    #:use-module (gnu packages groff)
>> +  #:use-module (gnu packages haskell)
>>    #:use-module (gnu packages linux)
>>    #:use-module (gnu packages nano)
>>    #:use-module (gnu packages ncurses)
>> @@ -1301,3 +1303,94 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.")
>>      (description "Stagit creates static pages for git repositories, the results can
>>  be served with a HTTP file server of your choice.")
>>      (license license:expat)))
>> +
>> +;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
>> +;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
>> +;; and results of search engines will show that if the protocol is http, https
>> +;; is never mentioned.
>> +(define-public darcs
>> +  (package
>> +    (name "darcs")
>> +    (version "2.12.4")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "https://hackage.haskell.org/package/darcs/"
>> +                           "darcs-" version ".tar.gz"))
>> +       (sha256
>> +        (base32
>> +         "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28"))))
>> +    (build-system haskell-build-system)
>> +    (arguments
>> +     `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
>> +                           "-fnetwork-uri" "-fhttp" "--flag=executable"
>> +                           "--flag=library")
>> +       #:tests? #f)) ; 20 failing shell tests out of over 400
>> +    (inputs
>> +     `(("ghc-cmdargs" ,ghc-cmdargs)
>> +       ("ghc-split" ,ghc-split)
>> +       ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
>> +       ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
>> +       ("ghc-test-framework" ,ghc-test-framework)
>> +       ("ghc-quickcheck" ,ghc-quickcheck)
>> +       ("ghc-findbin" ,ghc-findbin)
>> +       ("ghc-hunit" ,ghc-hunit)
>> +       ("ghc-array" ,ghc-array)
>> +       ("ghc-async" ,ghc-async)
>> +       ("ghc-attoparsec" ,ghc-attoparsec)
>> +       ("ghc-base16-bytestring" ,ghc-base16-bytestring)
>> +       ("ghc-binary" ,ghc-binary)
>> +       ("ghc-bytestring-builder" ,ghc-bytestring-builder)
>> +       ("ghc-cryptohash" ,ghc-cryptohash)
>> +       ("ghc-data-ordlist" ,ghc-data-ordlist)
>> +       ("ghc-directory" ,ghc-directory)
>> +       ("ghc-fgl" ,ghc-fgl)
>> +       ("ghc-system-filepath" ,ghc-system-filepath)
>> +       ("ghc-graphviz" ,ghc-graphviz)
>> +       ("ghc-hashable" ,ghc-hashable)
>> +       ("ghc-haskeline" ,ghc-haskeline)
>> +       ("ghc-html" ,ghc-html)
>> +       ("ghc-mmap" ,ghc-mmap)
>> +       ("ghc-mtl" ,ghc-mtl)
>> +       ("ghc-old-time" ,ghc-old-time)
>> +       ("ghc-parsec" ,ghc-parsec)
>> +       ("ghc-process" ,ghc-process)
>> +       ("ghc-random" ,ghc-random)
>> +       ("ghc-regex-applicative" ,ghc-regex-applicative)
>> +       ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa)
>> +       ("ghc-sandi" ,ghc-sandi)
>> +       ("ghc-shelly" ,ghc-shelly)
>> +       ("ghc-tar" ,ghc-tar)
>> +       ("ghc-transformers-compat" ,ghc-transformers-compat)
>> +       ("ghc-unix-compat" ,ghc-unix-compat)
>> +       ("ghc-utf8-string" ,ghc-utf8-string)
>> +       ("ghc-vector" ,ghc-vector)
>> +       ("ghc-zip-archive" ,ghc-zip-archive)
>> +       ("ghc-zlib" ,ghc-zlib)
>> +       ("ghc-http" ,ghc-http)
>> +       ("curl" ,curl)
>> +       ("ghc" ,ghc)
>> +       ("ncurses" ,ncurses)
>> +       ("perl" ,perl)
>> +       ("libiconv" ,libiconv)
>> +       ("ghc-network" ,ghc-network)
>> +       ("ghc-network-uri" ,ghc-network-uri)))
>> +    (native-inputs
>> +     `(("pkg-config" ,pkg-config)))
>> +    (home-page "http://darcs.net")
>> +    (synopsis "Distributed Revision Control System")
>> +    (description
>> +     "Darcs is a revision control system.  It is:
>> +
>> +@enumerate
>> +@item Distributed: Every user has access to the full command set, removing boundaries
>> +between server and client or committer and non-committers.
>> +@item Interactive: Darcs is easy to learn and efficient to use because it asks you
>> +questions in response to simple commands, giving you choices in your work flow.
>> +You can choose to record one change in a file, while ignoring another.  As you update
>> +from upstream, you can review each patch name, even the full diff for interesting
>> +patches.
>> +@item Smart: Originally developed by physicist David Roundy, darcs is based on a
>> +unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
>> +@end enumerate")
>> +    (license license:gpl2)))
>> -- 
>> 2.11.1
>> 
>> 
>> 
>> 

Pushed to master after a small discussion on IRC.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.