jira_cli: init at 2.2

This commit is contained in:
Judson
2018-05-13 14:35:42 -07:00
parent 42d0ce8a28
commit 51f4a46af2
3 changed files with 37 additions and 0 deletions
@@ -0,0 +1,32 @@
{ stdenv, libffi, openssl, pythonPackages }:
let
inherit (pythonPackages) fetchPypi buildPythonApplication vcrpy mock hiro;
in
buildPythonApplication rec {
pname = "jira-cli";
version = "2.2";
src = fetchPypi {
inherit pname version;
sha256 = "314118d5d851394ebf910122fd7ce871f63581393968c71456441eb56be3b112";
};
postPatch = ''
substituteInPlace requirements/main.txt --replace "argparse" ""
'';
# Tests rely on VCR cassettes being written during tests. R/O nix store prevents this.
doCheck = false;
checkInputs = with pythonPackages; [ vcrpy mock hiro ];
buildInputs = [ libffi openssl ];
propagatedBuildInputs = with pythonPackages; [
argparse ordereddict requests six suds-jurko termcolor keyring
jira keyrings-alt
];
meta = with stdenv.lib; {
description = "A command line interface to Jira";
homepage = http://github.com/alisaifee/jira-cli;
maintainers = with maintainers; [ nyarly ];
license = licenses.mit;
};
}