diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2021-04-17 17:52:02 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2021-04-22 13:53:19 -0700 |
commit | c253419a55c22c2d7f4bb2b04de95e3fb2050a9f (patch) | |
tree | 23ef3407bcde9e20ca79a4d989fc103a5ac11f7e /pkgs/tools/security/xorex | |
parent | dbfbfa380e1ea73e581489fbc993b97b79c804f8 (diff) |
xorex: init at 0.3.0
Diffstat (limited to 'pkgs/tools/security/xorex')
-rw-r--r-- | pkgs/tools/security/xorex/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/security/xorex/default.nix b/pkgs/tools/security/xorex/default.nix new file mode 100644 index 0000000000000..84919f5482629 --- /dev/null +++ b/pkgs/tools/security/xorex/default.nix @@ -0,0 +1,38 @@ +{ lib +, python3 +, fetchFromGitHub +}: +python3.pkgs.buildPythonApplication rec { + pname = "xorex"; + version = "0.3.0"; + format = "other"; + + src = fetchFromGitHub { + owner = "Neo23x0"; + repo = "xorex"; + rev = version; + sha256 = "rBsOSXWnHRhpLmq20XBuGx8gGBM8ouMyOISkbzUcvE4="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + chmod +x xorex.py + mv xorex.py $out/bin/xorex + + runHook postInstall + ''; + + propagatedBuildInputs = with python3.pkgs; [ + colorama + pefile + ]; + + meta = with lib; { + description = "XOR Key Extractor"; + homepage = "https://github.com/Neo23x0/xorex"; + license = licenses.asl20; + maintainers = teams.determinatesystems.members; + }; +} |