aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-10-07 14:16:01 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-10-07 14:16:01 +0200
commit283f57d8fa3dc2a9a6798dbea6b6b87319fda1ad (patch)
treea01b4d9db582e9fba3f655b1e123400b7dac6557
parentda99c46f63d13cd42b871f3e180be830061cc8b3 (diff)
downloadguix-283f57d8fa3dc2a9a6798dbea6b6b87319fda1ad.tar
guix-283f57d8fa3dc2a9a6798dbea6b6b87319fda1ad.tar.gz
gnu: Add java-w3c-sac.
* gnu/packages/batik.scm (java-w3c-sac): New variable.
-rw-r--r--gnu/packages/batik.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm
index b3361d9092..cf946e570e 100644
--- a/gnu/packages/batik.scm
+++ b/gnu/packages/batik.scm
@@ -156,3 +156,33 @@ public interface EventListenerInitializer {
"0jicqcrxav8ggs37amgvvwgc2f0qp1c5wns4rb2i3si83s2m09ns"))))
(propagated-inputs
`())))
+
+(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)))