at 18.09-beta 931 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, pytest, pytestrunner, pbr, glibcLocales , pytestcov 3, requests, requests_oauthlib, requests_toolbelt, defusedxml 4, ipython 5}: 6 7buildPythonPackage rec { 8 pname = "jira"; 9 version = "2.0.0"; 10 11 PBR_VERSION = version; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93"; 16 }; 17 18 buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ]; 19 propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ]; 20 21 # impure tests because of connectivity attempts to jira servers 22 doCheck = false; 23 24 patches = [ ./sphinx-fix.patch ]; 25 26 LC_ALL = "en_US.utf8"; 27 28 disabled = !isPy3k; 29 30 meta = with lib; { 31 description = "This library eases the use of the JIRA REST API from Python."; 32 license = licenses.bsd2; 33 maintainers = with maintainers; [ globin ma27 ]; 34 }; 35}