Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bc96a0392db0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9a9925efd728
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 18, 2018

  1. amass: init at 2.8.3

    kalbasit committed Nov 18, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    94ee915 View commit details
  2. Merge pull request #50490 from kalbasit/nixpkgs_add-amass

    amass: init at 2.8.3
    c0bw3b authored Nov 18, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9a9925e View commit details
Showing with 145 additions and 0 deletions.
  1. +42 −0 pkgs/tools/networking/amass/default.nix
  2. +101 −0 pkgs/tools/networking/amass/deps.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
42 changes: 42 additions & 0 deletions pkgs/tools/networking/amass/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ buildGoPackage
, fetchFromGitHub
, lib
}:

buildGoPackage rec {
name = "amass-${version}";
version = "2.8.3";

goPackagePath = "github.com/OWASP/Amass";

src = fetchFromGitHub {
owner = "OWASP";
repo = "Amass";
rev = version;
sha256 = "1pidi7bpg5z04l6ryfd7rqxshayvkqmgav0f6f1fxz4jwrmx9nnc";
};

# NOTE: this must be removed once amass > 2.8.3 is released. This version has
# a broken import caused by the project migrating to a new home.
preBuild = ''
sed -e 's:github.com/caffix/amass/amass/core:github.com/OWASP/Amass/amass/core:g' -i "go/src/${goPackagePath}/cmd/amass.netdomains/main.go"
'';

goDeps = ./deps.nix;

meta = with lib; {
description = "In-Depth DNS Enumeration and Network Mapping";
longDescription = ''
The OWASP Amass tool suite obtains subdomain names by scraping data
sources, recursive brute forcing, crawling web archives,
permuting/altering names and reverse DNS sweeping. Additionally, Amass
uses the IP addresses obtained during resolution to discover associated
netblocks and ASNs. All the information is then used to build maps of the
target networks.
'';
homepage = https://www.owasp.org/index.php/OWASP_Amass_Project;
license = licenses.asl20;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}
101 changes: 101 additions & 0 deletions pkgs/tools/networking/amass/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -475,6 +475,8 @@ with pkgs;

acme-client = callPackage ../tools/networking/acme-client { inherit (darwin) apple_sdk; };

amass = callPackage ../tools/networking/amass { };

afew = callPackage ../applications/networking/mailreaders/afew { pythonPackages = python3Packages; };

afio = callPackage ../tools/archivers/afio { };