1{ buildPythonApplication 2, click 3, fetchPypi 4, git 5, httpretty 6, lib 7, qrcode 8, pygments 9, pyopenssl 10, pytestCheckHook 11, requests 12, rollbar 13, stripe 14, sure 15}: 16 17buildPythonApplication rec { 18 pname = "gigalixir"; 19 version = "1.2.4"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "894b7e5bef30abc2c003e6df47f7758de5649b6f593e33926fcd398cc88d9ce2"; 24 }; 25 26 postPatch = '' 27 substituteInPlace setup.py --replace "'pytest-runner'," "" 28 ''; 29 30 propagatedBuildInputs = [ 31 click 32 requests 33 stripe 34 rollbar 35 pygments 36 qrcode 37 pyopenssl 38 ]; 39 40 checkInputs = [ 41 httpretty 42 sure 43 pytestCheckHook 44 git 45 ]; 46 47 pythonImportsCheck = [ "gigalixir" ]; 48 49 meta = with lib; { 50 description = "Gigalixir Command-Line Interface"; 51 homepage = "https://github.com/gigalixir/gigalixir-cli"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ ]; 54 }; 55}