Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 version = "1.3.4"; 5 pname = "commons-daemon"; 6 7 src = fetchurl { 8 url = "mirror://apache/commons/daemon/binaries/commons-daemon-${version}-bin.tar.gz"; 9 sha256 = "sha256-n9zmdPC4nLs/Rnth9uojkc5Kg5IfgERbr08TOvENR0Q="; 10 }; 11 12 installPhase = '' 13 tar xf ${src} 14 mkdir -p $out/share/java 15 cp *.jar $out/share/java/ 16 ''; 17 18 meta = { 19 homepage = "https://commons.apache.org/proper/commons-daemon"; 20 description = "Apache Commons Daemon software is a set of utilities and Java support classes for running Java applications as server processes."; 21 maintainers = with lib.maintainers; [ rsynnest ]; 22 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 23 license = lib.licenses.asl20; 24 platforms = with lib.platforms; unix; 25 }; 26}