Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 35 lines 815 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, rustPlatform 5, openssl 6, pkg-config 7, xz 8, Security 9}: 10 11rustPlatform.buildRustPackage rec { 12 pname = "pwninit"; 13 version = "3.3.0"; 14 15 src = fetchFromGitHub { 16 owner = "io12"; 17 repo = "pwninit"; 18 rev = version; 19 sha256 = "sha256-Tskbwavr+MFa8wmwaFGe7o4/6ZpZqczzwOnqFR66mmM="; 20 }; 21 22 buildInputs = [ openssl xz ] ++ lib.optionals stdenv.isDarwin [ Security ]; 23 nativeBuildInputs = [ pkg-config ]; 24 doCheck = false; # there are no tests to run 25 26 cargoSha256 = "sha256-LPypmFeF9NZOX1ogpIqc++Pun7pInKzpxYiGUvSUcso="; 27 28 meta = { 29 description = "Automate starting binary exploit challenges"; 30 homepage = "https://github.com/io12/pwninit"; 31 license = lib.licenses.mit; 32 maintainers = [ lib.maintainers.scoder12 ]; 33 platforms = lib.platforms.all; 34 }; 35}