mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
880 B
Nix
28 lines
880 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
, Mako, packaging, pysocks, pygments, ROPGadget
|
|
, capstone, paramiko, pip, psutil
|
|
, pyelftools, pypandoc, pyserial, dateutil
|
|
, requests, tox, pandoc, unicorn, intervaltree }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.10.0";
|
|
pname = "pwntools";
|
|
name = pname + "-" + version;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1l8hb30mwxqd1y7r5ihd7kzmjm2mz6m5aiphd3hwzmxkmxbxj8zk";
|
|
};
|
|
|
|
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pandoc unicorn intervaltree ];
|
|
|
|
disabled = isPy3k;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://pwntools.com";
|
|
description = "CTF framework and exploit development library";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bennofs kristoff3r ];
|
|
};
|
|
}
|