From unknown Sun Jun 22 08:11:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25866: [PATCH] gnu: Add darcs. Resent-From: contact.ng0@cryptolab.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Feb 2017 21:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25866 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 25866@debbugs.gnu.org Cc: ng0 X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148797024816724 (code B ref -1); Fri, 24 Feb 2017 21:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2017 21:04:08 +0000 Received: from localhost ([127.0.0.1]:54989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chN25-0004Lc-CC for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:04:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chN23-0004L9-1X for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:04:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chN1w-00043Z-KT for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:03:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1chN1w-00043R-Gk for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:03:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chN1u-0005b9-V2 for guix-patches@gnu.org; Fri, 24 Feb 2017 16:03:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chN1q-0003zt-74 for guix-patches@gnu.org; Fri, 24 Feb 2017 16:03:54 -0500 Received: from aibo.runbox.com ([91.220.196.211]:54480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chN1p-0003yT-Vq for guix-patches@gnu.org; Fri, 24 Feb 2017 16:03:50 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1chN1n-0002XI-5q for guix-patches@gnu.org; Fri, 24 Feb 2017 22:03:47 +0100 Received: from [78.130.128.106] (helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1chN0F-0000BD-Ri; Fri, 24 Feb 2017 22:02:12 +0100 From: contact.ng0@cryptolab.net Date: Fri, 24 Feb 2017 21:04:18 +0000 Message-Id: <20170224210418.13734-1-contact.ng0@cryptolab.net> X-Mailer: git-send-email 2.11.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) From: ng0 * 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 From unknown Sun Jun 22 08:11:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25866: [PATCH] gnu: Add darcs. Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Feb 2017 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25866 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 25866@debbugs.gnu.org Received: via spool by 25866-submit@debbugs.gnu.org id=B25866.148797093217690 (code B ref 25866); Fri, 24 Feb 2017 21:16:02 +0000 Received: (at 25866) by debbugs.gnu.org; 24 Feb 2017 21:15:32 +0000 Received: from localhost ([127.0.0.1]:54995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chND4-0004bB-Lu for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:15:32 -0500 Received: from perdizione.investici.org ([94.23.50.208]:50212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chND2-0004b3-LZ for 25866@debbugs.gnu.org; Fri, 24 Feb 2017 16:15:25 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 535FF120EF7 for <25866@debbugs.gnu.org>; Fri, 24 Feb 2017 21:15:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1487970923; bh=vOspu7woaerCSL5MKYlomH7dfBOvCKiehEe4qAiS0YM=; h=Date:From:To:Subject:References:In-Reply-To; b=qPvSQkXNc4Mwdz2OpQd0m9oyaNt0Ur/B3ztGxFs/jZGCorM2BhGufxDzni+U38yUH 0GKxPfT1tlIkGFqSK4tOkHVCQCY166SsFnml7pH1e21lv81al6hhGCeEBlLlm2J+BS oiPfKKCjDefZaMCgkB5jrrxcUkBFiEm5E/KFbEDQ= Date: Fri, 24 Feb 2017 21:17:32 +0000 From: ng0 Message-ID: <20170224211731.xz4pbx2u27djpyng@wasp> Mail-Followup-To: 25866@debbugs.gnu.org References: <20170224210418.13734-1-contact.ng0@cryptolab.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170224210418.13734-1-contact.ng0@cryptolab.net> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 17-02-24 21:04:18, contact.ng0@cryptolab.net wrote: > From: ng0 > > * 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 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 > > > > From unknown Sun Jun 22 08:11:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: contact.ng0@cryptolab.net Subject: bug#25866: closed (Re: bug#25866: [PATCH] gnu: Add darcs.) Message-ID: References: <878tn854vm.fsf@openmailbox.org> <20170224210418.13734-1-contact.ng0@cryptolab.net> X-Gnu-PR-Message: they-closed 25866 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 25866@debbugs.gnu.org Date: Mon, 10 Apr 2017 21:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1491859803-12630-1" This is a multi-part message in MIME format... ------------=_1491859803-12630-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25866: [PATCH] gnu: Add darcs. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25866@debbugs.gnu.org. --=20 25866: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25866 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1491859803-12630-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25866-done) by debbugs.gnu.org; 10 Apr 2017 21:29:09 +0000 Received: from localhost ([127.0.0.1]:41596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxgrv-0003GE-Qz for submit@debbugs.gnu.org; Mon, 10 Apr 2017 17:29:09 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:34074 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxgrs-0003Fl-H4 for 25866-done@debbugs.gnu.org; Mon, 10 Apr 2017 17:29:02 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 0588050BF9E; Mon, 10 Apr 2017 23:28:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1491859739; bh=76AejC76O/zo5bjIH0p3luADIeGh8Hxb26uuSmRB1D4=; h=From:To:Subject:References:Date:In-Reply-To:From; b=JmCaMVOYRUkp6G+IFtDnNB0+Iok6jVTjWMtlxGvUpG1eVE7UeyzoKynzCxWsdobop loTBTOx79bPBYsWLXQ4ZaSfSsJR9uJhSO+4UcTAIAcoR6ZcMUEAKxDpyiQdp8boCgi 6Mu07/4rRCgRosXT6DW8wNHZj14FigGGPmktlrZo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 From: Kei Kebreau DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1491859736; bh=76AejC76O/zo5bjIH0p3luADIeGh8Hxb26uuSmRB1D4=; h=From:To:Subject:References:Date:In-Reply-To:From; b=Aet4ge9o8aFtf6pKGwkpaZu9pZ/EL+eOXpup650PoVC0ukZ3Yw4zuAyd4LpBKl0kI SWmi33iwTENCnfrc0N2AiIPOTREZkDEXuPRXXmwyrSClIUqHr+om+e9+lPi5rX98bV TzVrQn/UuRqpQTQ8QRl+qpuc3eIWSaghNt2K4cWU= To: 25866-done@debbugs.gnu.org Subject: Re: bug#25866: [PATCH] gnu: Add darcs. References: <20170224210418.13734-1-contact.ng0@cryptolab.net> <20170224211731.xz4pbx2u27djpyng@wasp> Date: Mon, 10 Apr 2017 17:28:45 -0400 In-Reply-To: <20170224211731.xz4pbx2u27djpyng@wasp> (ng0's message of "Fri, 24 Feb 2017 21:17:32 +0000") Message-ID: <878tn854vm.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25866-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ng0 writes: > On 17-02-24 21:04:18, contact.ng0@cryptolab.net wrote: >> From: ng0 >>=20 >> * 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 > 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(+) >>=20 >> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-con= trol.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#SECTION00440070000000= 000000 >> +;; 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" "-fthrea= ded" >> + "-fnetwork-uri" "-fhttp" "--flag=3Dexecutabl= e" >> + "--flag=3Dlibrary") >> + #: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-quickcheck= 2) >> + ("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, remov= ing 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 wo= rk 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 i= nteresting >> +patches. >> +@item Smart: Originally developed by physicist David Roundy, darcs is b= ased on a >> +unique algebra of patches called @url{http://darcs.net/Theory,Patchtheo= ry}. >> +@end enumerate") >> + (license license:gpl2))) >> --=20 >> 2.11.1 >>=20 >>=20 >>=20 >>=20 Pushed to master after a small discussion on IRC. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljr+Q0ACgkQ5qXuPBlG eg3YtRAAxQmnyNNRwy9CeBN0Uq2BktcvbNWuV0Xf3bt9pstyGbHd2T/FkVsG25U+ OZL45hvkdzXtD/vIu2fjZVQT1oTbUK7DztSIFagZaye/6X9l/fDAuPr9mUBJAZ3D jLveplukiUrtdpA6eRUnat4X1cTWeH8HPnY+bHQ32aB3gx/92SthwnvQu/Km2If2 6ynAEKWJZIOadNe5uiLXHJHXqjYnx/gM1wmy36aKaVhRBdHTddL2tIiR19vs8sUZ MmE1RxKFrCbE1DdqZqnQeYMGhaV7+ncCDR+qaguSUwzuSnBlO39/XIaUQZHamFlQ 9DvbVodiG5MZ85x6BoYBnM7Iy02JP8U0OtUDPAzNDRdL4RtKJTV56mVBPkfJQZiC WegprfEoDUVDgBRILqij07GrzdQ2i+ZoOz1M5ooY52eURDh66yIvGfJpp7WHW3l6 raJQOHvs9JFuRW6v14Ur08BEsIGLWsL8ePw7+GBvaejfGeWQcF1Rav6g6xjt3z8c 6Pn5qIWTqX20ko3NLv+JWVnNneg5NP6VLrGv94bf2sDzBsFBgbG/ZwDIiZVciZWI XjcsbW7wQgabcknSttBIyB+EGaOqFXFT4a0DkrU5aWrzzRZqqtjQ1TbPwqBEcMQT wuMHCe0lFi8Ke4V7+hUDC5eOZBE7CR6Ow5inN4hUGZsUDanOT3w= =74A1 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1491859803-12630-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Feb 2017 21:04:08 +0000 Received: from localhost ([127.0.0.1]:54989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chN25-0004Lc-CC for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:04:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chN23-0004L9-1X for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:04:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chN1w-00043Z-KT for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:03:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1chN1w-00043R-Gk for submit@debbugs.gnu.org; Fri, 24 Feb 2017 16:03:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chN1u-0005b9-V2 for guix-patches@gnu.org; Fri, 24 Feb 2017 16:03:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chN1q-0003zt-74 for guix-patches@gnu.org; Fri, 24 Feb 2017 16:03:54 -0500 Received: from aibo.runbox.com ([91.220.196.211]:54480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chN1p-0003yT-Vq for guix-patches@gnu.org; Fri, 24 Feb 2017 16:03:50 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1chN1n-0002XI-5q for guix-patches@gnu.org; Fri, 24 Feb 2017 22:03:47 +0100 Received: from [78.130.128.106] (helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1chN0F-0000BD-Ri; Fri, 24 Feb 2017 22:02:12 +0100 From: contact.ng0@cryptolab.net To: guix-patches@gnu.org Subject: [PATCH] gnu: Add darcs. Date: Fri, 24 Feb 2017 21:04:18 +0000 Message-Id: <20170224210418.13734-1-contact.ng0@cryptolab.net> X-Mailer: git-send-email 2.11.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: ng0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) From: ng0 * 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 ------------=_1491859803-12630-1--