python: pwntools 3.7.1 -> 3.10.0

Also moved to a seperate module
This commit is contained in:
Kristoffer Søholm 2017-10-29 01:39:03 +02:00
parent c9ac187c3c
commit a9e5a846db
2 changed files with 28 additions and 19 deletions

View 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 ];
};
}

View File

@ -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 { };