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
39
pkgs/development/python-modules/uncompyle6/default.nix
Normal file
39
pkgs/development/python-modules/uncompyle6/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonAtLeast
|
||||
, spark_parser
|
||||
, xdis
|
||||
, nose
|
||||
, pytest
|
||||
, hypothesis
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uncompyle6";
|
||||
version = "3.8.0";
|
||||
disabled = pythonAtLeast "3.9"; # See: https://github.com/rocky/python-uncompyle6/issues/331
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-YgYzYY9t/B8+eBh+Igk014/8Y5wOOdrsofxTWquBcBQ=";
|
||||
};
|
||||
|
||||
checkInputs = [ nose pytest hypothesis six ];
|
||||
propagatedBuildInputs = [ spark_parser xdis ];
|
||||
|
||||
# six import errors (yet it is supplied...)
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pytest ./pytest --ignore=pytest/test_function_call.py
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python cross-version byte-code deparser";
|
||||
homepage = "https://github.com/rocky/python-uncompyle6/";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue