nixpkgs/pkgs/development/python-modules/pwntools/default.nix
Kristoffer Søholm f74aafc9e6 pythonPackages.pwntools: 3.12 -> 4.0b0
Fixes the broken build. I chose to go directly to 4.0 beta because
stable is pretty old, and because 4.0 has python3 support.
2019-11-13 13:15:12 -08:00

26 lines
863 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, Mako, packaging, pysocks, pygments, ROPGadget
, capstone, paramiko, pip, psutil
, pyelftools, pyserial, dateutil
, requests, tox, unicorn, intervaltree, fetchpatch }:
buildPythonPackage rec {
version = "4.0.0b0";
pname = "pwntools";
src = fetchPypi {
inherit pname version;
sha256 = "11f7x7rjad1nawn3r524lzxgz3nk89c6s3xycrscn3n86hh0zgid";
};
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pyserial dateutil requests tox unicorn intervaltree ];
doCheck = false; # no setuptools tests for the package
meta = with stdenv.lib; {
homepage = "http://pwntools.com";
description = "CTF framework and exploit development library";
license = licenses.mit;
maintainers = with maintainers; [ bennofs kristoff3r ];
};
}