3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jira/default.nix

30 lines
808 B
Nix
Raw Normal View History

2018-05-01 11:53:11 +01:00
{ lib, buildPythonPackage, fetchPypi, isPy3k
, pytest, pytestrunner, pbr, glibcLocales , pytestcov
2018-04-19 16:47:32 +01:00
, requests, requests_oauthlib, requests_toolbelt, defusedxml }:
buildPythonPackage rec {
pname = "jira";
2018-05-09 15:47:46 +01:00
version = "1.0.15";
2018-04-19 16:47:32 +01:00
src = fetchPypi {
inherit pname version;
2018-05-09 15:47:46 +01:00
sha256 = "20108a1d5b0dd058d5d4e0047f2d09ee06aaa413b22ca4d5c249e86167417fe8";
2018-04-19 16:47:32 +01:00
};
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml ];
LC_ALL = "en_US.utf8";
2018-05-01 11:53:11 +01:00
disabled = !isPy3k;
2018-04-19 16:47:32 +01:00
# no tests in release tarball
doCheck = false;
meta = with lib; {
description = "This library eases the use of the JIRA REST API from Python.";
license = licenses.bsd2;
maintainers = with maintainers; [ globin ];
};
}