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
55
pkgs/development/python-modules/qiling/default.nix
Normal file
55
pkgs/development/python-modules/qiling/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, capstone
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, gevent
|
||||
, keystone-engine
|
||||
, multiprocess
|
||||
, pefile
|
||||
, pyelftools
|
||||
, pythonOlder
|
||||
, python-registry
|
||||
, pyyaml
|
||||
, unicorn
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qiling";
|
||||
version = "1.4.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-myUGzNP4bf90d2gY5ZlYbVlTG640dj/Qha8/aMydvuw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
capstone
|
||||
gevent
|
||||
keystone-engine
|
||||
multiprocess
|
||||
pefile
|
||||
pyelftools
|
||||
python-registry
|
||||
pyyaml
|
||||
unicorn
|
||||
];
|
||||
|
||||
# Tests are broken (attempt to import a file that tells you not to import it,
|
||||
# amongst other things)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"qiling"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Qiling Advanced Binary Emulation Framework";
|
||||
homepage = "https://qiling.io/";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue