From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8SNj-0000pH-II for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8SNg-00083g-Jl for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8SNd-0007zk-3v for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8SNc-0001cN-WB for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:05 -0400 Subject: [bug#32948] [PATCH 07/21] gnu: Add java-w3c-sac. Resent-Message-ID: From: Danny Milosavljevic Date: Fri, 5 Oct 2018 17:50:08 +0200 Message-Id: <20181005155020.10239-7-dannym@scratchpost.org> In-Reply-To: <20181005155020.10239-1-dannym@scratchpost.org> References: <20181005154453.10159-1-dannym@scratchpost.org> <20181005155020.10239-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32948@debbugs.gnu.org * gnu/packages/batik.scm (java-w3c-sac): New variable. --- gnu/packages/batik.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm index 88be05042..ccab88568 100644 --- a/gnu/packages/batik.scm +++ b/gnu/packages/batik.scm @@ -164,3 +164,33 @@ public interface TimeEvent extends Event { (description "This package provides a SAC interface by the W3C. SAC is an interface for CSS parsers.") (license license:w3c))) + +(define-public java-w3c-sac + (package + (name "java-w3c-sac") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.w3.org/2002/06/sacjava-" version + ".zip")) + (sha256 + (base32 + "1djp2nnzf8jchnwz1ij9i5jfx4cg1ryf3lbw133yzjy0wkhcla52")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "w3c-sac.jar" + #:source-dir "sac-1.3" + #:tests? #f ; No tests exist. + #:phases + (modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key source #:allow-other-keys) + (invoke "unzip" source)))))) + (native-inputs + `(("unzip" ,unzip))) + (home-page "https://www.w3.org/Style/CSS/SAC/") + (synopsis "W3C SAC interface for CSS parsers in Java") + (description "This package provides a SAC interface by the W3C. +SAC is an interface for CSS parsers.") + (license license:w3c)))