From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH 42/42] gnu: Add darcs. Date: Sat, 24 Sep 2016 09:07:03 +0000 Message-ID: <87twd53buw.fsf@we.make.ritual.n0.is> References: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> <20160918161022.26135-42-ng0@we.make.ritual.n0.is> <20160921014449.GA18022@jasmine> <20160923001232.GD12170@jasmine> <87y42j569q.fsf@we.make.ritual.n0.is> <20160923134850.GB9220@jasmine> <87twd6cray.fsf@we.make.ritual.n0.is> <20160924022634.GA26185@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnivd-0000DM-Ex for guix-devel@gnu.org; Sat, 24 Sep 2016 05:07:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnivY-0003eO-Vr for guix-devel@gnu.org; Sat, 24 Sep 2016 05:07:24 -0400 Received: from aibo.runbox.com ([91.220.196.211]:50500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnivY-0003d3-JJ for guix-devel@gnu.org; Sat, 24 Sep 2016 05:07:20 -0400 In-Reply-To: <20160924022634.GA26185@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Fri, Sep 23, 2016 at 08:08:37PM +0000, ng0 wrote: >> Leo Famulari writes: >>=20 >> > On Fri, Sep 23, 2016 at 09:12:33AM +0000, ng0 wrote: >> >> I also think for reference we should keep the versions of packages it >> >> needs as they are so many. On the other hand hackage keeps the list of >> >> dependencies and versions of those, so... should I send a patch remov= ing >> >> these comments? >> > >> > I think it's better to say how to learn that information. What's there >> > now will become obsolete sooner or later, and it's not clear to me how= I >> > could update the information. >> > >>=20 >> That's just taken directly from hackage and/or the initial error output >> and/or the haskell setup file. >>=20 >> Should I adjust it? For me the source is 'normal' you find this >> information when you look for the application: >> https://hackage.haskell.org/package/darcs-2.12.4 > > It looks like hackage provides that version information for many of > their packages. So, I don't think we need to include it in our Darcs > package. > I Agree. You might want to check on (inputs (ghc)) as I have not checked again if this is already provided by the build-system. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-darcs.patch Content-Transfer-Encoding: quoted-printable From=202367b485b7fad2b3220610c01e71acc781a83220 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 4 Sep 2016 16:10:02 +0000 Subject: [PATCH] gnu: Add darcs. * gnu/packages/version-control.scm (darcs): New variable. =2D-- gnu/packages/version-control.scm | 96 ++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 95 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-contro= l.scm index 29559bd..082640d 100644 =2D-- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -10,7 +10,7 @@ ;;; Copyright =C2=A9 2015 Kyle Meyer ;;; Copyright =C2=A9 2015 Ricardo Wurmus ;;; Copyright =C2=A9 2016 Leo Famulari =2D;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -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) @@ -1249,3 +1251,95 @@ a built-in wiki, built-in file browsing, built-in ti= ckets system, etc.") (description "Stagit creates static pages for git repositories, the re= sults 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#SECTION00440070000000000= 000 +;; and results of search engines will show that if the protocol is http, h= ttps +;; 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/dar= cs/" + "darcs-" version ".tar.gz")) + (sha256 + (base32 + "0jfwiwl5k8wspciq1kpmvh5yap4japrf97s9pvhcybxxhaj3ds28")))) + (build-system haskell-build-system) + (arguments + `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded" + "-fnetwork-uri" "-fhttp" "--flag=3Dexecutable" + "--flag=3Dlibrary") + ;; 20 failing shell tests out of over 400. We seem to be unable to + ;; get the file which should show us more about the failures. + #:tests? #f)) + (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 inte= resting +patches. +@item Smart: Originally developed by physicist David Roundy, darcs is base= d on a +unique algebra of patches. +@end enumerate") + (license license:gpl2))) =2D-=20 2.10.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 ng0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX5kI5AAoJEAKilhUMIBgjmnEP/0YSqily/7+WR4EU6/1GdjHK ByLtFGmyll5w43zupMOzAafGEIuCr/8d/hxl3cAgf2m7z6id/3/6yltKUadNRpv3 5YN9c5W4DBFFhOLRI4n655MXPXuAgLJKqwWwipWerKgLZdz0AoMGV57sFqCMWJ4U W8/YQn9aB7wjS/aiiVJWOlMc2Yvh0141e2upRMwGJiFDDgrr6ed0khx96F5E3Go9 GgeqDh/cCQg3fyo+t0cEeZjEynWV6/5LIcVeowTX0ltsVPfP1TLwCT6X4iqY3urn wZp2tg4QJp4xGBPKh2i0FFZhhMARF6DF/V2HOxnBRX5wBt64jDut5o/kvq4XMETX pCqGRLItupxGroz0jy8K0y4e4rjCsRdXlWiU/tI94jAvDJ+ytLk5r6qA0d/PsY2U wjkf0cyg+zHAp1Ooy6W0XZ7O97E9lNxCn9dFrhSB45pFSJQK5OmhJ/+ZJKpUouvg IOSIw7eyyO9U1zZoXZwRta8GAW5LuKlB/57iKzPQCpF+/qrfn/Zoa9MsDmB3pb6C dJdwqwclq1yREm4Thfy9y9shtRyR/8Xf2tFdDVKe9GaZa+zg7FQj6rt8CQRMx2oy ZbIsaZVdto7PkQlXSjDN3UciNBTYwFhK/SVvpTwFEqH0+x5DUTvE+c+jLtj1AjAN fd2bemqTh510z3Nc1nxj =9ATF -----END PGP SIGNATURE----- --==-=-=--