7 stdenv.mkDerivation (finalAttrs: {
8 pname = "apache-users";
12 url = "https://labs.portcullis.co.uk/download/apache_users-${finalAttrs.version}.tar.gz";
13 hash = "sha256-rylW4F8Si6KKYxaxEJlVFnbLqfqS6ytMPfHpc8MgriA=";
16 # Allow optional arguments where defaults are provided
17 patches = [ ./optional-args.patch ];
20 substituteAllInPlace apache${finalAttrs.version}.pl
24 (perl.withPackages (p: [ p.ParallelForkManager p.LWP ]))
30 install -D apache${finalAttrs.version}.pl $out/bin/apache-users
31 install -Dm444 names $out/share/apache-users/names
37 description = "Username Enumeration through Apache UserDir";
38 homepage = "https://labs.portcullis.co.uk/downloads/";
39 license = licenses.gpl2Plus;
40 maintainers = with maintainers; [ emilytrau ];
41 mainProgram = "apache-users";