guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 29/29] gnu: Add darcs.


From: Peter Mikkelsen
Subject: Re: [PATCH 29/29] gnu: Add darcs.
Date: Sat, 3 Sep 2016 15:51:19 +0200

Den 3. sep. 2016 2.52 PM skrev "ng0" <address@hidden>:
>
> As you can see by the comments, description and annoations, this patch
> is the last one which is work in progress.
>
> Currently the last dependency missing is shelly(C), which has a dependency
> on some other package(A) which in return depends on shelly and another
> package(B) which depends on package A and itself.

I tried to package some Haskell packages some time ago, and i believe i got this problem too. The way i fixed it was to disable tests for one of the packages, as it was the tests that made the dependency loop. I just don't remember which one. Unfortunately, I lost all my work by accident.. but hope it helps.

> I'm done with work for today, if someone happens to have shelly lying
> around or wants to hack on this it's good otherwise I'll work on this in
> the next days.
>
> ng0 <address@hidden> writes:
>
> > * gnu/packages/version-control.scm (darcs): New variable.
> > ---
> >  gnu/packages/version-control.scm | 65 ++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 65 insertions(+)
> >
> > diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> > index 34cfedf..0bbab5d 100644
> > --- a/gnu/packages/version-control.scm
> > +++ b/gnu/packages/version-control.scm
> > @@ -34,6 +34,7 @@
> >    #:use-module (guix download)
> >    #:use-module (guix git-download)
> >    #:use-module (guix build-system cmake)
> > +  #:use-module (guix build-system haskell)
> >    #:use-module (guix build-system gnu)
> >    #:use-module (guix build-system python)
> >    #:use-module (guix build-system trivial)
> > @@ -49,6 +50,7 @@
> >    #:use-module (gnu packages file)
> >    #:use-module (gnu packages flex)
> >    #:use-module (gnu packages gettext)
> > +  #:use-module (gnu packages haskell)
> >    #:use-module (gnu packages groff)
> >    #:use-module (gnu packages linux)
> >    #:use-module (gnu packages nano)
> > @@ -1225,3 +1227,66 @@ 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)
> > +    ;; shelly >=1.6.2 && <1.7,
> > +    (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" ,ghc-bytestring) ; (>=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-filepath" ,ghc-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-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)))
> > +    (home-page "http://darcs.net")
> > +    (synopsis "Moar pandahats!")
> > +    (description
> > +     "Vote Cthullu!")
> > +    (license license:gpl2)))
> > --
> > 2.9.3
> >
>
> --
> ng0
> For non-prism friendly talk find me on http://www.psyced.org
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]