1{lib, stdenv, fetchurl}:
2
3stdenv.mkDerivation rec {
4 pname = "commons-logging";
5 version = "1.3.1";
6
7 src = fetchurl {
8 url = "mirror://apache/commons/logging/binaries/commons-logging-${version}-bin.tar.gz";
9 sha256 = "sha256-mM85vfWDc88fNwwflvnRvoh/tb+jDH3o+96RZa9Sp7w=";
10 };
11
12 installPhase = ''
13 mkdir -p $out/share/java
14 cp commons-logging-*.jar $out/share/java/
15 '';
16
17 meta = {
18 description = "Wrapper around a variety of logging API implementations";
19 homepage = "https://commons.apache.org/proper/commons-logging";
20 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
21 license = lib.licenses.asl20;
22 platforms = lib.platforms.unix;
23 };
24}
25