Subject: [bug#32263] [PATCH 3/8] gnu: Add python-codecov.

From: Efraim Flashner <[email-masked]>
Date: Tue, 24 Jul 2018 21:51:10 +0300

* gnu/packages/check.scm (python-codecov): New variable.
---
 gnu/packages/check.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 42b90bc2b..b56858a0b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2015, 2017 Cyril Roelandt <[email-masked]>
 ;;; Copyright © 2015 Federico Beffa <[email-masked]>
 ;;; Copyright © 2015 Andreas Enge <[email-masked]>
-;;; Copyright © 2015, 2016 Efraim Flashner <[email-masked]>
+;;; Copyright © 2015, 2016, 2018 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2016, 2017 Leo Famulari <[email-masked]>
 ;;; Copyright © 2016 Christopher Allan Webber <[email-masked]>
 ;;; Copyright © 2016, 2017 Danny Milosavljevic <[email-masked]>
@@ -1223,6 +1223,29 @@ testing frameworks.")
 (define-public python2-cov-core
  (package-with-python2 python-cov-core))
 
+(define-public python-codecov
+  (package
+    (name "python-codecov")
+    (version "2.0.15")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "codecov" version))
+        (sha256
+         (base32
+          "1217c0vqf7ii65635gvl27a5pfhv0r7zhrpdp9cx640hg73bgn4f"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-unittest2" ,python-unittest2)))
+    (propagated-inputs
+     `(("python-coverage" ,python-coverage)
+       ("python-requests" ,python-requests)))
+    (home-page "http://github.com/codecov/codecov-python")
+    (synopsis "Report uploader")
+    (description
+     "Codecov uploads code coverage reports from many hosted providers.")
+    (license license:asl2.0)))
+
 (define-public python-testpath
   (package
     (name "python-testpath")
-- 
2.18.0