Skip to content

Commit

Permalink
sn0int: init at 0.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xrelkd committed Apr 20, 2020
1 parent 21861f3 commit b4a2ec0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/tools/security/sn0int/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib, fetchFromGitHub, rustPlatform,
libsodium, libseccomp, sqlite, pkgconfig }:

rustPlatform.buildRustPackage rec {
pname = "sn0int";
version = "0.18.2";

src = fetchFromGitHub {
owner = "kpcyrd";
repo = pname;
rev = "v${version}";
sha256 = "0b21b0ryq03zrhqailg2iajirn30l358aj3k44lfnravr4h9zwkj";
};

cargoSha256 = "1pvn0sc325b5fh29m2l6cack4qfssa4lp3zhyb1qzkb3fmw3lgcy";

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ libsodium libseccomp sqlite ];

# One of the dependencies (chrootable-https) tries to read "/etc/resolv.conf"
# in "checkPhase", hence fails in sandbox of "nix".
doCheck = false;

meta = with lib; {
description = "Semi-automatic OSINT framework and package manager";
homepage = "https://github.com/kpcyrd/sn0int";
license = licenses.gpl3;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6625,6 +6625,8 @@ in

smugline = python3Packages.smugline;

sn0int = callPackage ../tools/security/sn0int { };

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

snapcast = callPackage ../applications/audio/snapcast { };
Expand Down

0 comments on commit b4a2ec0

Please sign in to comment.