summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraanderse <aaron@fosslib.net>2018-08-09 02:59:46 -0400
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-09 08:59:46 +0200
commit12c05697b5576c33fb3ccd71917e791ee8811ef1 (patch)
treec9c4c4fd43a3a4d6c0cd37bbff5bb93c1629ff41 /pkgs
parentfcc187b48050931c3a1154357c43039b1cb3b830 (diff)
downloadnixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.tar
nixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.tar.gz
nixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.tar.bz2
nixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.tar.lz
nixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.tar.xz
nixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.tar.zst
nixpkgs-12c05697b5576c33fb3ccd71917e791ee8811ef1.zip
added Authen::ModAuthPubTkt perl package from cpan (#44785)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/perl-packages.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index be3e9b60f34..b38af80b826 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -578,6 +578,22 @@ let self = _self // overrides; _self = with self; {
     };
   };
 
+  AuthenModAuthPubTkt = buildPerlPackage rec {
+    name = "Authen-ModAuthPubTkt-0.1.1";
+    src = fetchurl {
+      url = "mirror://cpan/authors/id/A/AG/AGORDON/${name}.tar.gz";
+      sha256 = "7996e1a42c51216003ccf03c4b5250286b4c55684257971851f5ece9161dc7dd";
+    };
+    propagatedBuildInputs = [ pkgs.openssl IPCRun3 ];
+    patchPhase = ''
+      sed -i 's|my $openssl_bin = "openssl";|my $openssl_bin = "${pkgs.openssl}/bin/openssl";|' lib/Authen/ModAuthPubTkt.pm
+    '';
+    meta = {
+      description = "Generate Tickets (Signed HTTP Cookies) for mod_auth_pubtkt protected websites";
+      license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
+    };
+  };
+
   AuthenPassphrase = buildPerlModule rec {
     name = "Authen-Passphrase-0.008";
     src = fetchurl {