aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-24 10:57:43 +0000
committerChristopher Baines <mail@cbaines.net>2018-12-31 09:22:54 +0000
commitefac98e234b77cc89492a265a58180cffab6a978 (patch)
tree9eaeeabdb09385436964baa9f7c7779a1d46a97b
parentfda7bb427f12f4fec7aff886ddeee521b9c206bf (diff)
downloadguix-efac98e234b77cc89492a265a58180cffab6a978.tar
guix-efac98e234b77cc89492a265a58180cffab6a978.tar.gz
gnu: Add python-safety.
-rw-r--r--gnu/packages/python.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f68a1cedd1..babf106ac1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15596,3 +15596,29 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(description
"A parser for Python dependency files")
(license license:expat)))
+
+(define-public python-safety
+ (package
+ (name "python-safety")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "safety" version))
+ (sha256
+ (base32
+ "0yipd9bpxs600dckkr91i51hscs5x9qidi1nbs1367brmmv4n37z"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("python-click" ,python-click)
+ ("python-dparse" ,python-dparse)
+ ("python-packaging" ,python-packaging)
+ ("python-requests" ,python-requests)))
+ (home-page "https://github.com/pyupio/safety")
+ (synopsis
+ "Safety checks your installed dependencies for known security vulnerabilities.")
+ (description
+ "Safety checks your installed dependencies for known security vulnerabilities.")
+ (license license:expat)))