about summary refs log tree commit diff
path: root/machines/srv1/modsecurity.nix
blob: 85dd4d1146f78ce253f1117c7a1ca789cc9781d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchFromGitHub, libmodsecurity }:
let
  pname = "ModSecurity-nginx";
  version = "1.0.1";
in
stdenv.mkDerivation {
  inherit pname version;

  src = fetchFromGitHub {
    owner = "SpiderLabs";
    repo = "ModSecurity-nginx";
    rev = "v${version}";
    sha256 = "sha256:0cbb3g3g4v6q5zc6an212ia5kjjad62bidnkm8b70i4qv1615pzf";
  };

  inputs = [ libmodsecurity ];

}