about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/corsmisc/default.nix
blob: 4c64677f3240ce095d180f8fa81951e48e9d89c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ buildGoModule
, fetchFromGitHub
, lib
}:

buildGoModule rec {
  pname = "corsmisc";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "drsigned";
    repo = pname;
    rev = "v${version}";
    sha256 = "18a70v093jl85vnih80i50wvac8hsg3f2gmcws9jyhj2brndq2qj";
  };

  vendorSha256 = "1bp6bf99rxlyg91pn1y228q18lawpykmvkl22cydmclms0q0n238";

  meta = with lib; {
    description = "Tool to discover CORS misconfigurations vulnerabilities";
    homepage = "https://github.com/drsigned/corsmisc";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}