mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
42 lines
792 B
Nix
42 lines
792 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, yasm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distorm3";
|
|
version = "3.5.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gdabah";
|
|
repo = "distorm";
|
|
rev = version;
|
|
sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
yasm
|
|
];
|
|
|
|
disabledTests = [
|
|
# TypeError: __init__() missing 3 required positional...
|
|
"test_dummy"
|
|
];
|
|
|
|
pythonImportsCheck = [ "distorm3" ];
|
|
|
|
meta = with lib; {
|
|
description = "Disassembler library for x86/AMD64";
|
|
homepage = "https://github.com/gdabah/distorm";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|