2018-05-01 10:53:11 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, pytest, pytestrunner, pbr, glibcLocales , pytestcov
|
2018-06-03 20:11:29 +00:00
|
|
|
, requests, requests_oauthlib, requests_toolbelt, defusedxml
|
|
|
|
, ipython
|
|
|
|
}:
|
2018-04-19 15:47:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jira";
|
2018-08-13 07:25:49 +00:00
|
|
|
version = "2.0.0";
|
2018-04-19 15:47:32 +00:00
|
|
|
|
2018-06-03 20:11:29 +00:00
|
|
|
PBR_VERSION = version;
|
|
|
|
|
2018-04-19 15:47:32 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 07:25:49 +00:00
|
|
|
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
|
2018-04-19 15:47:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
|
2018-06-03 20:11:29 +00:00
|
|
|
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ];
|
|
|
|
|
|
|
|
# impure tests because of connectivity attempts to jira servers
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
patches = [ ./sphinx-fix.patch ];
|
2018-04-19 15:47:32 +00:00
|
|
|
|
|
|
|
LC_ALL = "en_US.utf8";
|
|
|
|
|
2018-05-01 10:53:11 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-04-19 15:47:32 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "This library eases the use of the JIRA REST API from Python.";
|
|
|
|
license = licenses.bsd2;
|
2019-12-26 14:13:48 +00:00
|
|
|
maintainers = with maintainers; [ globin ];
|
2018-04-19 15:47:32 +00:00
|
|
|
};
|
|
|
|
}
|