git.iko.soy/typeable/nixpkgs
on master help sign in
xcat: init at 1.2.0
commit42cbdb8e7afaad8597c9a5215d3004c052b7ff7e authorFabian Affolter <mail@fabian-affolter.ch> dateWed 31 Mar 2021, 20:14 (6 years ago) parent1f1981a
2 files changed+52
pkgs/tools/security/xcat/default.nix+50 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/xcat/default.nixnew file+50
@@ -0,0 +1,50 @@
1+{ lib
2+, fetchFromGitHub
3+, python3
4+}:
5+
6+python3.pkgs.buildPythonApplication rec {
7+ pname = "xcat";
8+ version = "1.2.0";
9+ disabled = python3.pythonOlder "3.7";
10+ format = "pyproject";
11+
12+ src = fetchFromGitHub {
13+ owner = "orf";
14+ repo = pname;
15+ rev = "v${version}";
16+ sha256 = "01r5998gdvqjdrahpk0ci27lx9yghbddlanqcspr3qp5y5930i0s";
17+ };
18+
19+ nativeBuildInputs = with python3.pkgs; [
20+ poetry-core
21+ ];
22+
23+ propagatedBuildInputs = with python3.pkgs; [
24+ aiodns
25+ aiohttp
26+ appdirs
27+ cchardet
28+ click
29+ colorama
30+ prompt_toolkit
31+ xpath-expressions
32+ ];
33+
34+ # Project has no tests
35+ doCheck = false;
36+ pythonImportsCheck = [ "xcat" ];
37+
38+ meta = with lib; {
39+ description = "XPath injection tool";
40+ longDescription = ''
41+ xcat is an advanced tool for exploiting XPath injection vulnerabilities,
42+ featuring a comprehensive set of features to read the entire file being
43+ queried as well as other files on the filesystem, environment variables
44+ and directories.
45+ '';
46+ homepage = "https://github.com/orf/xcat";
47+ license = with licenses; [ mit ];
48+ maintainers = with maintainers; [ fab ];
49+ };
50+}
pkgs/top-level/all-packages.nix+2
@@ -26515,6 +26515,8 @@ in
2651526515
2651626516 xcape = callPackage ../tools/X11/xcape { };
2651726517
26518+ xcat = callPackage ../tools/security/xcat { };
26519+
2651826520 xchainkeys = callPackage ../tools/X11/xchainkeys { };
2651926521
2652026522 xchm = callPackage ../applications/misc/xchm { };