Fix missing package
more/packages/java.scm
6221 | 6221 | import javax.servlet.ServletResponse; | |
6222 | 6222 | import javax.servlet.ServletContext; | |
6223 | 6223 | import javax.servlet.ServletException; | |
6224 | - | import java.util.Collection;") | |
6224 | + | import java.util.Collection;") | |
6225 | 6225 | (("^}") "public Part getPart(String name) throws IOException, | |
6226 | 6226 | ServletException { | |
6227 | 6227 | return httpRequest.getPart(name); | |
… | |||
6741 | 6741 | (description "") | |
6742 | 6742 | (license license:asl2.0))) | |
6743 | 6743 | ||
6744 | + | (define-public java-mockito | |
6745 | + | (package | |
6746 | + | (name "java-mockito") | |
6747 | + | (version "2.23.6") | |
6748 | + | (source (origin | |
6749 | + | (method url-fetch) | |
6750 | + | (uri (string-append "https://github.com/mockito/mockito/archive/v" | |
6751 | + | version ".tar.gz")) | |
6752 | + | (file-name (string-append name "-" version ".tar.gz")) | |
6753 | + | (sha256 | |
6754 | + | (base32 | |
6755 | + | "08vw3fqymgpjww06q4zvc6247dj2a7y3hgxsfghxny5lklh12qml")))) | |
6756 | + | (build-system ant-build-system) | |
6757 | + | (arguments | |
6758 | + | `(#:jar-name "mockito.jar" | |
6759 | + | #:source-dir "src/main/java" | |
6760 | + | #:tests? #f; Some compilation errors | |
6761 | + | #:phases | |
6762 | + | (modify-phases %standard-phases | |
6763 | + | (add-before 'build 'use-system-asm | |
6764 | + | (lambda _ | |
6765 | + | (substitute* "src/main/java/org/mockito/internal/creation/bytebuddy/InlineBytecodeGenerator.java" | |
6766 | + | (("net.bytebuddy.jar.asm") "org.objectweb.asm")) | |
6767 | + | #t))))) | |
6768 | + | (propagated-inputs | |
6769 | + | `(("java-asm" ,java-asm) | |
6770 | + | ("java-byte-buddy-agent" ,java-byte-buddy-agent) | |
6771 | + | ("java-byte-buddy-dep" ,java-byte-buddy-dep) | |
6772 | + | ("java-hamcrest-core" ,java-hamcrest-core) | |
6773 | + | ("java-junit" ,java-junit) | |
6774 | + | ("java-objenesis" ,java-objenesis))) | |
6775 | + | (native-inputs | |
6776 | + | `(("java-assertj" ,java-assertj))) | |
6777 | + | (home-page "https://mockito.org/") | |
6778 | + | (synopsis "") | |
6779 | + | (description "") | |
6780 | + | (license license:asl2.0))) | |
6781 | + | ||
6744 | 6782 | (define-public java-netty-common | |
6745 | 6783 | (package | |
6746 | 6784 | (name "java-netty-common") |
more/packages/package-managers.scm
38 | 38 | #:use-module (gnu packages polkit) | |
39 | 39 | #:use-module (gnu packages sqlite) | |
40 | 40 | #:use-module (gnu packages valgrind) | |
41 | - | #:use-module (gnu packages xml) | |
42 | - | ) | |
41 | + | #:use-module (gnu packages xml)) | |
43 | 42 | ||
44 | 43 | (define-public libsoup-2.67.3 | |
45 | 44 | (package |