571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "interactsh";
|
|
version = "1.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-aPjeP9Js2lpJBiWYTpJjKo445wSkNcatszBZMutIIR0=";
|
|
};
|
|
|
|
vendorHash = "sha256-SYs04LgWy6Fd9SUAxs4tB+VK2CK3gqb7fDYkp16i67Q=";
|
|
|
|
modRoot = ".";
|
|
subPackages = [
|
|
"cmd/interactsh-client"
|
|
"cmd/interactsh-server"
|
|
];
|
|
|
|
# Test files are not part of the release tarball
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Out of bounds interaction gathering server and client library";
|
|
longDescription = ''
|
|
Interactsh is an Open-Source Solution for Out of band Data Extraction,
|
|
A tool designed to detect bugs that cause external interactions,
|
|
For example - Blind SQLi, Blind CMDi, SSRF, etc.
|
|
'';
|
|
homepage = "https://github.com/projectdiscovery/interactsh";
|
|
changelog = "https://github.com/projectdiscovery/interactsh/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hanemile ];
|
|
};
|
|
}
|