uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/tools/security/enum4linux-ng/default.nix
Normal file
41
pkgs/tools/security/enum4linux-ng/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, impacket
|
||||
, ldap3
|
||||
, pyyaml
|
||||
, samba
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "enum4linux-ng";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cddmp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0fk6hzmvxb5y3nb41qr6dssxhdahkh5nxhbx480x42fhnqpssir5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
impacket
|
||||
ldap3
|
||||
pyyaml
|
||||
samba
|
||||
];
|
||||
|
||||
# It's only a script and not a Python module. Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Windows/Samba enumeration tool";
|
||||
longDescription = ''
|
||||
enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for
|
||||
enumerating information from Windows and Samba systems.
|
||||
'';
|
||||
homepage = "https://github.com/cddmp/enum4linux-ng";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue