jira-cli: Use Python 3.x

It otherwise reports
"error: jira-2.0.0 not supported for interpreter python2.7"
This commit is contained in:
Tim Steinbach 2019-01-15 19:08:39 -05:00
parent 368b72a71d
commit 8d35005491
No known key found for this signature in database
GPG Key ID: 6C654787275A64F1

View File

@ -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
];