diff options
Diffstat (limited to 'pkgs/servers/http/apache-modules/mod_cspnonce/default.nix')
-rw-r--r-- | pkgs/servers/http/apache-modules/mod_cspnonce/default.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_cspnonce/default.nix b/pkgs/servers/http/apache-modules/mod_cspnonce/default.nix deleted file mode 100644 index 68486d5d2894..000000000000 --- a/pkgs/servers/http/apache-modules/mod_cspnonce/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, apacheHttpd }: - -stdenv.mkDerivation rec { - pname = "mod_cspnonce"; - version = "1.4"; - - src = fetchFromGitHub { - owner = "wyattoday"; - repo = "mod_cspnonce"; - rev = version; - hash = "sha256-uUWRKUjS2LvHgT5xrK+LZLQRHc6wMaxGca2OsVxVlRs="; - }; - - buildInputs = [ apacheHttpd ]; - - buildPhase = '' - apxs -ca mod_cspnonce.c - ''; - - installPhase = '' - runHook preInstall - mkdir -p $out/modules - cp .libs/mod_cspnonce.so $out/modules - runHook postInstall - ''; - - meta = with lib; { - description = "Apache2 module that makes it dead simple to add nonce values to the CSP"; - homepage = "https://github.com/wyattoday/mod_cspnonce"; - license = licenses.asl20; - platforms = platforms.unix; - maintainers = with maintainers; [ dasj19 ]; - }; -} |