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
58
pkgs/development/python-modules/flask-testing/default.nix
Normal file
58
pkgs/development/python-modules/flask-testing/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, blinker
|
||||
, pytestCheckHook
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flask
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-testing";
|
||||
version = "0.8.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Flask-Testing";
|
||||
inherit version;
|
||||
hash = "sha256-CnNNe2jmOpQQtBPNex+WRW+ahYvQmmIi1GVlDMeC6wE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
blinker
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Some of the tests use localhost networking on darwin
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
disabledTests = [
|
||||
# RuntimeError and NotImplementedError
|
||||
"test_assert_redirects"
|
||||
"test_server_listening"
|
||||
"test_server_process_is_spawned"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# twill is only used by Python 2 according setup.py
|
||||
"tests/test_twill.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_testing"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extension provides unit testing utilities for Flask";
|
||||
homepage = "https://pythonhosted.org/Flask-Testing/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue