From f78681206680fd09f3d97c656c00cfcb79c40be3 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 21 Oct 2020 19:08:20 +0200 Subject: gnu: Add python-scour. * gnu/packages/python-xyz.scm (python-scour): New variable. --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2ac77ffde9..0fe4703a27 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -88,6 +88,7 @@ ;;; Copyright © 2020 Joseph LaFreniere ;;; Copyright © 2020 Tim Gesthuizen ;;; Copyright © 2020 Bonface Munyoki Kilyungi +;;; Copyright © 2020 Ekaitz Zarraga ;;; ;;; This file is part of GNU Guix. ;;; @@ -1794,6 +1795,32 @@ human-friendly syntax.") (define-public python2-schedule (package-with-python2 python-schedule)) +(define-public python-scour + (package + (name "python-scour") + (version "038.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/scour-project/scour") + (commit + (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rgiypb9ig8x4rl3hfzpy7kwnx1q3064nvlrv4fk0dnp84girn0v")))) + (propagated-inputs + `(("python-six" ,python-six))) + (build-system python-build-system) + (home-page "https://github.com/scour-project/scour") + (synopsis "Scour is an SVG optimizer/cleaner written in Python") + (description "The goal of Scour is to output a file that renderes +identically at a fraction of the size by removing a lot of redundant +information created by most SVG editors. Optimization options are typically +lossless but can be tweaked for more agressive cleaning.") + (license license:asl2.0))) + (define-public python-mechanize (package (name "python-mechanize") -- cgit v1.2.3