python3Packages.gigalixir: disable failing test
This commit is contained in:
parent
54105e1f85
commit
a1d4803aa4
@ -1,9 +1,9 @@
|
||||
{ buildPythonApplication
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, click
|
||||
, fetchPypi
|
||||
, git
|
||||
, httpretty
|
||||
, lib
|
||||
, qrcode
|
||||
, pygments
|
||||
, pyopenssl
|
||||
@ -11,43 +11,54 @@
|
||||
, requests
|
||||
, rollbar
|
||||
, stripe
|
||||
, pythonOlder
|
||||
, sure
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "gigalixir";
|
||||
version = "1.2.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-P70xsI/zwsoSgK1XCPzJSI5NQ58M431kmgo5gHXbaNw=";
|
||||
hash = "sha256-P70xsI/zwsoSgK1XCPzJSI5NQ58M431kmgo5gHXbaNw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
pygments
|
||||
pyopenssl
|
||||
qrcode
|
||||
requests
|
||||
rollbar
|
||||
stripe
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
git
|
||||
httpretty
|
||||
pytestCheckHook
|
||||
sure
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'," "" \
|
||||
--replace "cryptography==" "cryptography>="
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
requests
|
||||
stripe
|
||||
rollbar
|
||||
pygments
|
||||
qrcode
|
||||
pyopenssl
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
"test_rollback_without_version"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
httpretty
|
||||
sure
|
||||
pytestCheckHook
|
||||
git
|
||||
pythonImportsCheck = [
|
||||
"gigalixir"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "gigalixir" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gigalixir Command-Line Interface";
|
||||
homepage = "https://github.com/gigalixir/gigalixir-cli";
|
||||
|
Loading…
Reference in New Issue
Block a user