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
67
pkgs/development/python-modules/pyro4/default.nix
Normal file
67
pkgs/development/python-modules/pyro4/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, serpent
|
||||
, dill
|
||||
, cloudpickle
|
||||
, msgpack
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyro4";
|
||||
version = "4.82";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Pyro4";
|
||||
inherit version;
|
||||
hash = "sha256-UR9bCATpLdd9wzrfnJR3h+P56cWpaxIWLwVXp8TOIfs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
serpent
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dill
|
||||
cloudpickle
|
||||
msgpack
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# add testsupport.py to PATH
|
||||
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
|
||||
|
||||
|
||||
pytestFlagsArray = [
|
||||
# ignore network related tests, which fail in sandbox
|
||||
"--ignore=tests/PyroTests/test_naming.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"StartNSfunc"
|
||||
"Broadcast"
|
||||
"GetIP"
|
||||
];
|
||||
|
||||
# otherwise the tests hang the build
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"Pyro4"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed object middleware for Python (RPC)";
|
||||
homepage = "https://github.com/irmen/Pyro4";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue