mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #314583 from Tochiaha/hellmaker
hellmaker: init 0-unstable-2023-03-18
This commit is contained in:
commit
0b11ab77b9
39
pkgs/by-name/he/hellmaker/package.nix
Normal file
39
pkgs/by-name/he/hellmaker/package.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hellmaker";
|
||||
version = "0-unstable-2023-03-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "0xNinjaCyclone";
|
||||
repo = "hellMaker";
|
||||
rev = "2e9efe2aed9412f67a8606544392a2df10d3a2d0";
|
||||
hash = "sha256-zbtzlYGCLW/lt7GJvMHao/MZhdghNBQCQsjUImL1RC4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/{bin,share/hellmaker}
|
||||
cp -R * $out/share/hellmaker
|
||||
makeWrapper ${python3.interpreter} $out/bin/hellmaker \
|
||||
--set PYTHONPATH "$PYTHONPATH:$out/share/hellmaker/hellMaker.py" \
|
||||
--add-flags "$out/share/hellmaker/hellMaker.py"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Generate FUD backdoors";
|
||||
homepage = "https://github.com/0xNinjaCyclone/hellMaker";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ tochiaha ];
|
||||
mainProgram = "hellmaker";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user