From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH 43/43] gnu: Add darcs. Date: Sun, 04 Sep 2016 16:37:18 +0000 Message-ID: <87lgz7zkn5.fsf@we.make.ritual.n0.is> References: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> <20160904161742.27197-43-ng0@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgaQ8-0004lk-WA for guix-devel@gnu.org; Sun, 04 Sep 2016 12:37:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgaQ7-0002Hx-7E for guix-devel@gnu.org; Sun, 04 Sep 2016 12:37:24 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:56055 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgaQ6-0002Hj-T2 for guix-devel@gnu.org; Sun, 04 Sep 2016 12:37:23 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id ebcc0df9 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Sun, 4 Sep 2016 16:37:19 +0000 (UTC) In-Reply-To: <20160904161742.27197-43-ng0@we.make.ritual.n0.is> 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: guix-devel@gnu.org Build environment and log file can be found at https://dl.n0.is/debug/darcs/ , see https://tor.n0.is for tor access. I require help of people with more experience in haskell debugging, this is my first haskell package (series). ng0 writes: > * gnu/packages/version-control.scm (darcs): New variable. > --- > gnu/packages/version-control.scm | 73 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 73 insertions(+) > > diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm > index 9ff9801..caca52c 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) > @@ -1225,3 +1227,74 @@ 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))) > + > +(define-public darcs > + (package > + (name "darcs") > + (version "2.12.0") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://hackage.haskell.org/package/darcs/" > + "darcs-" version ".tar.gz")) > + (sha256 > + (base32 > + "139hh9sxg0pkkgnmx5711i2ffj5462mw5zsb1ah1ljya94dqsc8p")))) > + (build-system haskell-build-system) > + (arguments > + `(#:configure-flags '("-fpkgconfig" "-flibiconv"))) > + (inputs > + `(("ghc-cmdargs" ,ghc-cmdargs) ; cmdargs ==0.10.*, > + ("ghc-split" ,ghc-split) ; split >=0.2.2 && <0.3, > + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) ; ==0.3.* > + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) ; >=0.2.2 && <0.4, > + ("ghc-test-framework" ,ghc-test-framework) ; test-framework >=0.4.0 && <0.9, > + ("ghc-quickcheck" ,ghc-quickcheck) ; QuickCheck >=2.6 && <2.9, > + ("ghc-findbin" ,ghc-findbin) ; FindBin ==0.0.*, > + ("ghc-hunit" ,ghc-hunit) ; HUnit >=1.2.5.2 && <1.4, > + ("ghc-array" ,ghc-array) ; (>=0.4.0.1 && <0.6) > + ("ghc-async" ,ghc-async) ; (>=2.0.1.4 && <2.2) > + ("ghc-attoparsec" ,ghc-attoparsec) ; (>=0.11 && <0.14) > + ;; base (>=4.6 && <4.10) > + ("ghc-base16-bytestring" ,ghc-base16-bytestring) ; (==0.1.*) > + ("ghc-binary" ,ghc-binary) ; (>=0.5 && <0.9) > + ("ghc-bytestring-builder" ,ghc-bytestring-builder) ; (>=0.10.0.2 && <0.11) > + ;; containers (==0.5.*) > + ("ghc-cryptohash" ,ghc-cryptohash) ; (>=0.4 && <0.12) > + ("ghc-data-ordlist" ,ghc-data-ordlist) ; (==0.4.*) > + ("ghc-directory" ,ghc-directory) ; (>=1.2.0.1 && <1.3.0.0) > + ("ghc-fgl" ,ghc-fgl) ; (>=5.5.0.1 && <5.6) > + ("ghc-system-filepath" ,ghc-system-filepath) ; (>=1.3.0.1 && <1.5.0.0) > + ("ghc-graphviz" ,ghc-graphviz) ; (>=2999.17.0.1 && <2999.19) > + ("ghc-hashable" ,ghc-hashable) ; (>=1.1.2.5 && <1.3) > + ("ghc-haskeline" ,ghc-haskeline) ; (>=0.6.3 && <0.8) > + ("ghc-html" ,ghc-html) ; (>=1.0.1.2 && <1.1) > + ("ghc-mmap" ,ghc-mmap) ; (==0.5.*) > + ("ghc-mtl" ,ghc-mtl) ; (>=2.1.2 && <2.3) > + ("ghc-old-time" ,ghc-old-time) ; (==1.1.*) > + ("ghc-parsec" ,ghc-parsec) ; (==3.1.*) > + ("ghc-process" ,ghc-process) ; (>=1.1.0.2 && <1.5.0.0) > + ("ghc-random" ,ghc-random) ; (>=1.0.1.1 && <1.2) > + ("ghc-regex-applicative" ,ghc-regex-applicative) ; (>=0.2 && <0.4) > + ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa) ; (>=0.95.1 && <0.96) > + ("ghc-sandi" ,ghc-sandi) ; (>=0.2 && <0.4) > + ("ghc-shelly" ,ghc-shelly) ; shelly >=1.6.2 && <1.7, > + ("ghc-tar" ,ghc-tar) ; (>=0.4 && <0.6) > + ("ghc-transformers" ,ghc-transformers) ; (>=0.3 && <0.4.0.0 || >0.4.0.0 && <0.6) > + ("ghc-transformers-compat" ,ghc-transformers-compat) ; (>=0.4 && <0.6) > + ("ghc-unix-compat" ,ghc-unix-compat) ; (>=0.1.2 && <0.5) > + ("ghc-utf8-string" ,ghc-utf8-string) ; (>=0.3.6 && <1.1) > + ("ghc-vector" ,ghc-vector) ; (>=0.10.0.1 && <0.12) > + ("ghc-zip-archive" ,ghc-zip-archive) ; (>=0.2.3 && <0.4) > + ("ghc-zlib" ,ghc-zlib) ; (>=0.5.4.1 && <0.7.0.0) > + ("curl" ,curl) > + ("ghc" ,ghc) ; 7.10.2 > + ("perl" ,perl) > + ("pkg-config" ,pkg-config) > + ("libiconv" ,libiconv) > + ("ghc-network" ,ghc-network) > + ("ghc-network-uri" ,ghc-network-uri))) > + (home-page "http://darcs.net") > + (synopsis "Moar pandahats!") > + (description > + "Vote Cthulhu!") > + (license license:gpl2))) > -- > 2.9.3 > -- ng0 For non-prism friendly talk find me on http://www.psyced.org