56949d7e75
There aren't any tests to run, and now the package fails to build because of a crash while looking if there are any tests.
29 lines
937 B
Nix
29 lines
937 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;
|
|
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 ];
|
|
};
|
|
}
|