Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
726 B
Nix
41 lines
726 B
Nix
{
|
|
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";
|
|
mainProgram = "xorex";
|
|
homepage = "https://github.com/Neo23x0/xorex";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|