mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
Merge pull request #233227 from fabaff/acltoolkit
acltoolkit: init at unstable-2023-02-03
This commit is contained in:
45
pkgs/tools/security/acltoolkit/default.nix
Normal file
45
pkgs/tools/security/acltoolkit/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "acltoolkit";
|
||||
version = "unstable-2023-02-03";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zblurx";
|
||||
repo = "acltoolkit";
|
||||
rev = "a5219946aa445c0a3b4a406baea67b33f78bca7c";
|
||||
hash = "sha256-97cbkGyIkq2Pk1hydMcViXWoh+Ipi3m0YvEYiaV4zcM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Ignore pinned versions
|
||||
sed -i -e "s/==[0-9.]*//" setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
asn1crypto
|
||||
dnspython
|
||||
impacket
|
||||
ldap3
|
||||
pyasn1
|
||||
pycryptodome
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"acltoolkit"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ACL abuse swiss-knife";
|
||||
homepage = "https://github.com/zblurx/acltoolkit";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -19536,6 +19536,8 @@ with pkgs;
|
||||
|
||||
acl = callPackage ../development/libraries/acl { };
|
||||
|
||||
acltoolkit = callPackage ../tools/security/acltoolkit { };
|
||||
|
||||
acsccid = callPackage ../tools/security/acsccid { };
|
||||
|
||||
activemq = callPackage ../development/libraries/apache-activemq { };
|
||||
|
||||
Reference in New Issue
Block a user