mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
1bd4b71a35
The former packages has seen its last release in 2020-10 and can be considered abandoned. Meanwhile a new fork has appeared in faust-cchardet, that we're going to use in its place. Co-Authored-By: Robert Schütz <nix@dotlambda.de>
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "xcat";
|
|
version = "1.2.0";
|
|
disabled = python3.pythonOlder "3.7";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orf";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "01r5998gdvqjdrahpk0ci27lx9yghbddlanqcspr3qp5y5930i0s";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
aiodns
|
|
aiohttp
|
|
appdirs
|
|
click
|
|
colorama
|
|
faust-cchardet
|
|
prompt-toolkit
|
|
xpath-expressions
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "xcat" ];
|
|
|
|
meta = with lib; {
|
|
description = "XPath injection tool";
|
|
longDescription = ''
|
|
xcat is an advanced tool for exploiting XPath injection vulnerabilities,
|
|
featuring a comprehensive set of features to read the entire file being
|
|
queried as well as other files on the filesystem, environment variables
|
|
and directories.
|
|
'';
|
|
homepage = "https://github.com/orf/xcat";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|