python: pwntools 3.7.1 -> 3.10.0
Also moved to a seperate module
This commit is contained in:
parent
c9ac187c3c
commit
a9e5a846db
27
pkgs/development/python-modules/pwntools/default.nix
Normal file
27
pkgs/development/python-modules/pwntools/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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 = "pwntools-${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 ];
|
||||
};
|
||||
}
|
|
@ -26396,25 +26396,7 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
pwntools = buildPythonPackage rec {
|
||||
name = "pwntools-${version}";
|
||||
version = "3.7.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pwntools/${name}.tar.gz";
|
||||
sha256 = "1c0n97cf3nql3n6sxpbp43x1byhkgfbpbl2b22h8nllgb8n0z9l0";
|
||||
};
|
||||
propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pkgs.pandoc unicorn intervaltree ];
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
homepage = "http://pwntools.com";
|
||||
description = "CTF framework and exploit development library";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
};
|
||||
};
|
||||
pwntools = callPackage ../development/python-modules/pwntools { };
|
||||
|
||||
ROPGadget = callPackage ../development/python-modules/ROPGadget { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue