nixpkgs/pkgs/development/libraries/java/commons/logging/default.nix
2021-01-21 19:11:02 -08:00

24 lines
598 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation {
name = "commons-logging-1.2";
src = fetchurl {
url = "mirror://apache/commons/logging/binaries/commons-logging-1.2-bin.tar.gz";
sha256 = "1gc70pmcv0x6ibl89jglmr22f8zpr63iaifi49nrq399qw2qhx9z";
};
installPhase = ''
mkdir -p $out/share/java
cp commons-logging-*.jar $out/share/java/
'';
meta = {
description = "Wrapper around a variety of logging API implementations";
homepage = "http://commons.apache.org/proper/commons-logging";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}