mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
f74aafc9e6
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.
27 lines
863 B
Nix
27 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 ];
|
|
};
|
|
}
|