~ruther/guix-local

ceb72c6a40e3b9aa85d2265bf2d60dacb904031a — Maxim Cournoyer 1 year, 1 month ago 99ff113
gnu: Add go-github-com-nbio-st.

* gnu/packages/golang-check.scm (go-github-com-nbio-st): New variable.

Change-Id: I7a2b0d463c5a8d784b6e50814eacb45352cda590
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang-check.scm
M gnu/packages/golang-check.scm => gnu/packages/golang-check.scm +36 -0
@@ 1552,6 1552,42 @@ testing capabilities.")
Perl's @url{https://metacpan.org/pod/Test::Deep, Test::Deep perl}.")
    (license license:bsd-2)))

(define-public go-github-com-nbio-st
  (package
    (name "go-github-com-nbio-st")
    (version "0.0.0-20140626010706-e9e8d9816f32")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/nbio/st")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "14r4acm82gp9ikqnp41a06bm4mrdlbskakhibbxsc5ljav7bni27"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/nbio/st"
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'delete-problematic-tests
            (lambda _
              ;; The readme_test.go file contains failing tests on
              ;; purpose to demonstrate the failing output.
              (delete-file "src/github.com/nbio/st/readme/readme_test.go"))))))
    (home-page "https://github.com/nbio/st")
    (synopsis "Tiny test framework for Go")
    (description
     "Package @code{st}, pronounced @emph{ghost}, is a tiny test framework for
making short, useful assertions in your Go tests.  @samp{Assert(t, have, want)
and Refute(t, have, want)} abort a test immediately with @code{t.Fatal}.
@samp{Expect(t, have, want) and Reject(t, have, want)} allow a test to
continue, reporting failure at the end with @code{t.Error}.  They print nice
error messages, preserving the order of @code{have} (actual result) before
@code{want} (expected result) to minimize confusion.")
    (license license:asl2.0)))

(define-public go-github-com-onsi-ginkgo
  (package
    (name "go-github-com-onsi-ginkgo")