uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/development/python-modules/distorm3/default.nix
Normal file
40
pkgs/development/python-modules/distorm3/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, yasm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distorm3";
|
||||
version = "3.5.2";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gdabah";
|
||||
repo = "distorm";
|
||||
rev = version;
|
||||
sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue