Merge pull request #140464 from fabaff/bump-distorm
This commit is contained in:
@@ -1,21 +1,40 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, yasm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distorm3";
|
||||
version = "3.3.4";
|
||||
version = "3.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1bh9xdiz9mkf9lfffimfn3hgd0mh60y7wl1micgkxzpl7hnxrpd4";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gdabah";
|
||||
repo = "distorm";
|
||||
rev = version;
|
||||
sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn";
|
||||
};
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
yasm
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# TypeError: __init__() missing 3 required positional...
|
||||
"test_dummy"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "distorm3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful Disassembler Library For x86/AMD64";
|
||||
description = "Disassembler library for x86/AMD64";
|
||||
homepage = "https://github.com/gdabah/distorm";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user