2021-10-01 09:20:50 +00:00
|
|
|
{ buildPythonApplication
|
|
|
|
, click
|
|
|
|
, fetchPypi
|
|
|
|
, git
|
|
|
|
, httpretty
|
|
|
|
, lib
|
|
|
|
, qrcode
|
|
|
|
, pygments
|
|
|
|
, pyopenssl
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
|
|
|
, rollbar
|
|
|
|
, stripe
|
|
|
|
, sure
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gigalixir";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.2.4";
|
2021-10-01 09:20:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "894b7e5bef30abc2c003e6df47f7758de5649b6f593e33926fcd398cc88d9ce2";
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
2022-01-26 04:04:25 +00:00
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "'pytest-runner'," "" \
|
|
|
|
--replace "cryptography==" "cryptography>="
|
2021-10-01 09:20:50 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
requests
|
|
|
|
stripe
|
|
|
|
rollbar
|
|
|
|
pygments
|
|
|
|
qrcode
|
|
|
|
pyopenssl
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
httpretty
|
|
|
|
sure
|
|
|
|
pytestCheckHook
|
|
|
|
git
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gigalixir" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Gigalixir Command-Line Interface";
|
|
|
|
homepage = "https://github.com/gigalixir/gigalixir-cli";
|
|
|
|
license = licenses.mit;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
}
|