python3Packages.qiling: 1.3.0 -> 1.4.0
commitcb737c9edb4082bab9606c360e90835f205184d9
authorFabian Affolter <mail@fabian-affolter.ch>
dateWed 10 Nov 2021, 00:06 (5 years ago)
parenta402f9c
pkgs/development/python-modules/qiling/default.nix+21−11
@@ -1,33 +1,43 @@
11{ lib
22, buildPythonPackage
3−, fetchPypi
43, capstone
5−, unicorn
6−, pefile
7−, python-registry
4+, fetchFromGitHub
5+, fetchPypi
6+, gevent
87, keystone-engine
8+, multiprocess
9+, pefile
910, pyelftools
10−, gevent
11+, python-registry
12+, unicorn
1113}:
14+
1215buildPythonPackage rec {
1316 pname = "qiling";
14− version = "1.3.0";
17+ version = "1.4.0";
18+ format = "setuptools";
1519
1620 src = fetchPypi {
1721 inherit pname version;
18− sha256 = "084ad706f6803d7de2391eab928ecf4cb3e8d892fd2988666d4791a422d6ab9a";
22+ sha256 = "sha256-xUoNHMyGN0G2itVcKLsk+7QKxZdguzyh6OZCqCHNB4Y=";
1923 };
2024
2125 propagatedBuildInputs = [
2226 capstone
23− unicorn
24− pefile
25− python-registry
27+ gevent
2628 keystone-engine
29+ multiprocess
30+ pefile
2731 pyelftools
28− gevent
32+ python-registry
33+ unicorn
2934 ];
3035
36+ postPatch = ''
37+ substituteInPlace setup.py \
38+ --replace "pefile==2021.5.24" "pefile>=2021.5.24"
39+ '';
40+
3141 # Tests are broken (attempt to import a file that tells you not to import it,
3242 # amongst other things)
3343 doCheck = false;