Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / he / hellmaker / package.nix
blobd05e612dbc80fe499965c1ffd8181b3545dfcb85
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , python3
5 , makeWrapper
6 }:
8 stdenv.mkDerivation rec {
9   pname = "hellmaker";
10   version = "0-unstable-2023-03-18";
12   src = fetchFromGitHub {
13     owner = "0xNinjaCyclone";
14     repo = "hellMaker";
15     rev = "2e9efe2aed9412f67a8606544392a2df10d3a2d0";
16     hash = "sha256-zbtzlYGCLW/lt7GJvMHao/MZhdghNBQCQsjUImL1RC4=";
17   };
19   nativeBuildInputs = [ makeWrapper ];
21   installPhase = ''
22     runHook preInstall
23     mkdir -p $out/{bin,share/hellmaker}
24     cp -R * $out/share/hellmaker
25     makeWrapper ${python3.interpreter} $out/bin/hellmaker \
26       --set PYTHONPATH "$PYTHONPATH:$out/share/hellmaker/hellMaker.py" \
27       --add-flags "$out/share/hellmaker/hellMaker.py"
28     runHook postInstall
29   '';
31   meta = {
32     description = "Generate FUD backdoors";
33     homepage = "https://github.com/0xNinjaCyclone/hellMaker";
34     license = lib.licenses.mit;
35     maintainers = with lib.maintainers; [ tochiaha ];
36     mainProgram = "hellmaker";
37     platforms = lib.platforms.all;
38   };