@@ -30133,13 +30133,13 @@ EOF
30133
30133
30134
30134
pwntools = buildPythonPackage rec {
30135
30135
name = "pwntools-${version}";
30136
- version = "3.1 .0";
30136
+ version = "3.7 .0";
30137
30137
30138
30138
src = pkgs.fetchurl {
30139
30139
url = "mirror://pypi/p/pwntools/${name}.tar.gz";
30140
- sha256 = "1siyky6iq2b155sfjhx10yg2ihvjp2s3kr6i0n5z9v5pi0r7gc6d ";
30140
+ sha256 = "1d2q42cmgh7l2k6l2gy4zllgj9a5qc59af3skp2b80hmv88h6vij ";
30141
30141
};
30142
- propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pkgs.pandoc ];
30142
+ propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pkgs.pandoc unicorn intervaltree ];
30143
30143
30144
30144
disabled = isPy3k;
30145
30145
@@ -30151,28 +30151,6 @@ EOF
30151
30151
};
30152
30152
};
30153
30153
30154
- pytoml = buildPythonPackage rec {
30155
- name = "pytoml-${version}";
30156
- version = "0.1.11";
30157
-
30158
- checkPhase = "${python.interpreter} test/test.py";
30159
-
30160
- # fetchgit used to ensure test submodule is available
30161
- src = pkgs.fetchgit {
30162
- url = "${meta.homepage}.git";
30163
- rev = "refs/tags/v${version}";
30164
- sha256 = "1jiw04zk9ccynr8kb1vqh9r1p2kh0al7g7b1f94911iazg7dgs9j";
30165
- };
30166
-
30167
- meta = {
30168
- description = "A TOML parser/writer for Python";
30169
- homepage = https://github.com/avakar/pytoml;
30170
- license = licenses.mit;
30171
- maintainers = with maintainers; [ peterhoeg ];
30172
- };
30173
-
30174
- };
30175
-
30176
30154
ROPGadget = buildPythonPackage rec {
30177
30155
name = "ROPGadget-5.4";
30178
30156
src = pkgs.fetchurl {
@@ -30188,6 +30166,47 @@ EOF
30188
30166
};
30189
30167
};
30190
30168
30169
+ unicorn = buildPythonPackage rec {
30170
+ name = "unicorn-${version}";
30171
+ version = "1.0.1";
30172
+ src = pkgs.fetchurl {
30173
+ url = "mirror://pypi/u/unicorn/${name}.tar.gz";
30174
+ sha256 = "0a5b4vh734b3wfkgapzzf8x18rimpmzvwwkly56da84n27wfw9bg";
30175
+ };
30176
+ setupPyBuildFlags = [ "--plat-name" "linux" ];
30177
+ meta = with pkgs.stdenv.lib; {
30178
+ description = "Unicorn CPU emulator engine";
30179
+ homepage = "http://www.unicorn-engine.org/";
30180
+ license = [ licenses.gpl2 ];
30181
+ maintainers = with stdenv.maintainers; [ bennofs ];
30182
+ };
30183
+ };
30184
+
30185
+ intervaltree = buildPythonPackage rec {
30186
+ name = "intervaltree-${version}";
30187
+ version = "2.1.0";
30188
+ src = pkgs.fetchurl {
30189
+ url = "mirror://pypi/i/intervaltree/${name}.tar.gz";
30190
+ sha256 = "02w191m9zxkcjqr1kv2slxvhymwhj3jnsyy3a28b837pi15q19dc";
30191
+ };
30192
+ buildInputs = with self; [ pytest ];
30193
+ propagatedBuildInputs = with self; [ sortedcontainers ];
30194
+ checkPhase = ''
30195
+ runHook preCheck
30196
+ # pytest will try to run tests for nix_run_setup.py / files in build/lib which fails
30197
+ mv nix_run_setup.py run_setup
30198
+ rm build -rf
30199
+ ${python.interpreter} run_setup test
30200
+ runHook postCheck
30201
+ '';
30202
+ meta = with pkgs.stdenv.lib; {
30203
+ description = "Editable interval tree data structure for Python 2 and 3";
30204
+ homepage = https://github.com/chaimleib/intervaltree;
30205
+ license = [ licenses.asl2 ];
30206
+ maintainers = with stdenv.maintainers; [ bennofs ];
30207
+ };
30208
+ };
30209
+
30191
30210
packaging = buildPythonPackage rec {
30192
30211
name = "packaging-16.8";
30193
30212
src = pkgs.fetchurl {
@@ -30196,16 +30215,34 @@ EOF
30196
30215
};
30197
30216
propagatedBuildInputs = with self; [ pyparsing six ];
30198
30217
buildInputs = with self; [ pytest pretend ];
30218
+
30199
30219
meta = with pkgs.stdenv.lib; {
30200
30220
description = "Core utilities for Python packages";
30201
30221
homepage = "https://github.com/pypa/packaging";
30202
30222
license = [ licenses.bsd2 licenses.asl20 ];
30203
30223
maintainers = with maintainers; [ bennofs ];
30204
30224
};
30225
+ };
30205
30226
30206
- checkPhase = ''
30207
- py.test
30208
- '';
30227
+ pytoml = buildPythonPackage rec {
30228
+ name = "pytoml-${version}";
30229
+ version = "0.1.11";
30230
+
30231
+ checkPhase = "${python.interpreter} test/test.py";
30232
+
30233
+ # fetchgit used to ensure test submodule is available
30234
+ src = pkgs.fetchgit {
30235
+ url = "${meta.homepage}.git";
30236
+ rev = "refs/tags/v${version}";
30237
+ sha256 = "1jiw04zk9ccynr8kb1vqh9r1p2kh0al7g7b1f94911iazg7dgs9j";
30238
+ };
30239
+
30240
+ meta = {
30241
+ description = "A TOML parser/writer for Python";
30242
+ homepage = https://github.com/avakar/pytoml;
30243
+ license = licenses.mit;
30244
+ maintainers = with maintainers; [ peterhoeg ];
30245
+ };
30209
30246
};
30210
30247
30211
30248
pypandoc = buildPythonPackage rec {
0 commit comments