about summary refs log tree commit diff
path: root/gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/check.scm29
-rw-r--r--gn/packages/yaj.scm3
2 files changed, 31 insertions, 1 deletions
diff --git a/gn/packages/check.scm b/gn/packages/check.scm
new file mode 100644
index 0000000..69c9f1f
--- /dev/null
+++ b/gn/packages/check.scm
@@ -0,0 +1,29 @@
+(define-module (gn packages check)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system python)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages check))
+
+(define-public python-nosexcover
+  (package
+    (name "python-nosexcover")
+    (version "1.0.11")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "nosexcover" version))
+              (sha256
+               (base32
+                "10xqr12qv62k2flxwqhh8cr00cjhn7sfjrm6p35gd1x5bmjkr319"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-coverage python-nose))
+    (home-page "https://github.com/cmheisel/nose-xcover")
+    (synopsis "Extends nose.plugins.cover to add Cobertura-style XML reports")
+    (description "Nose-xcover is a companion to the built-in
+@code{nose.plugins.cover}.  This plugin will write out an XML coverage report
+to a file named coverage.xml.
+
+It will honor all the options you pass to the Nose coverage plugin,
+especially -cover-package.")
+    (license license:expat)))
diff --git a/gn/packages/yaj.scm b/gn/packages/yaj.scm
index c36a6cc..bdd417d 100644
--- a/gn/packages/yaj.scm
+++ b/gn/packages/yaj.scm
@@ -12,7 +12,8 @@
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages web)
-  #:use-module (gn packages web))
+  #:use-module (gn packages web)
+  #:use-module (gn packages check))
 
 (define-public python-elasticsearch
   (package