git.iko.soy/typeable/nixpkgs
on master help sign in
perlPackages.Apache-AuthCookie: init at 3.27 (#44437)
commit20f1388c3fb7c1c56367fd96fd21cfd316f465b7 authoraanderse <aaron@fosslib.net> dateSat 4 Aug 2018, 07:40 (8 years ago) parentd296a37
1 file changed+20
pkgs/top-level/perl-packages.nix+20
pkgs/top-level/perl-packages.nix+20
@@ -206,6 +206,26 @@ let self = _self // overrides; _self = with self; {
206206 propagatedBuildInputs = [ Moose Mouse ];
207207 };
208208
209+ ApacheAuthCookie = buildPerlPackage rec {
210+ name = "Apache-AuthCookie-3.27";
211+ src = fetchurl {
212+ url = "mirror://cpan/authors/id/M/MS/MSCHOUT/${name}.tar.gz";
213+ sha256 = "58daeb3e44c681ff88f8fb00e4aabaa7a40cbee73dbdb84fcf6c285b15d357bd";
214+ };
215+ buildInputs = [ ApacheTest URI ];
216+ propagatedBuildInputs = [ ClassLoad HTTPBody HashMultiValue WWWFormUrlEncoded ];
217+
218+ # Fails because /etc/protocols is not available in sandbox and make
219+ # getprotobyname('tcp') in ApacheTest fail.
220+ doCheck = !stdenv.isLinux;
221+
222+ meta = {
223+ homepage = http://search.cpan.org/dist/Apache-AuthCookie/;
224+ description = "Perl Authentication and Authorization via cookies";
225+ license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
226+ };
227+ };
228+
209229 ApacheLogFormatCompiler = buildPerlModule rec {
210230 name = "Apache-LogFormat-Compiler-0.35";
211231 src = fetchurl {