Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 697 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "commons-logging"; 9 version = "1.3.5"; 10 11 src = fetchurl { 12 url = "mirror://apache/commons/logging/binaries/commons-logging-${version}-bin.tar.gz"; 13 sha256 = "sha256-4s/DfNYp/CXSIAtUAUHC2GReQrmlhpN8tRwvpHmB2G0="; 14 }; 15 16 installPhase = '' 17 mkdir -p $out/share/java 18 cp commons-logging-*.jar $out/share/java/ 19 ''; 20 21 meta = { 22 description = "Wrapper around a variety of logging API implementations"; 23 homepage = "https://commons.apache.org/proper/commons-logging"; 24 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 25 license = lib.licenses.asl20; 26 platforms = lib.platforms.unix; 27 }; 28}