From 8d35005491e010a1da1de2a7344362f9c7bc98a5 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Tue, 15 Jan 2019 19:08:39 -0500 Subject: [PATCH] jira-cli: Use Python 3.x It otherwise reports "error: jira-2.0.0 not supported for interpreter python2.7" --- pkgs/development/tools/jira_cli/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/jira_cli/default.nix b/pkgs/development/tools/jira_cli/default.nix index f1c6e1f8ca6e..02ea20d8bad7 100644 --- a/pkgs/development/tools/jira_cli/default.nix +++ b/pkgs/development/tools/jira_cli/default.nix @@ -1,6 +1,6 @@ -{ stdenv, libffi, openssl, pythonPackages }: +{ stdenv, libffi, openssl, python3Packages }: let - inherit (pythonPackages) fetchPypi buildPythonApplication vcrpy mock hiro; + inherit (python3Packages) fetchPypi buildPythonApplication vcrpy mock hiro; in buildPythonApplication rec { pname = "jira-cli"; @@ -16,9 +16,9 @@ in # Tests rely on VCR cassettes being written during tests. R/O nix store prevents this. doCheck = false; - checkInputs = with pythonPackages; [ vcrpy mock hiro ]; + checkInputs = with python3Packages; [ vcrpy mock hiro ]; buildInputs = [ libffi openssl ]; - propagatedBuildInputs = with pythonPackages; [ + propagatedBuildInputs = with python3Packages; [ argparse ordereddict requests six suds-jurko termcolor keyring jira keyrings-alt ];