1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/python-modules/jira/default.nix
2021-07-21 13:32:53 +02:00

36 lines
930 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k
, pytest, pytest-runner, pbr, glibcLocales , pytest-cov
, requests, requests_oauthlib, requests-toolbelt, defusedxml
, ipython
}:
buildPythonPackage rec {
pname = "jira";
version = "2.0.0";
PBR_VERSION = version;
src = fetchPypi {
inherit pname version;
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
};
buildInputs = [ glibcLocales pytest pytest-cov pytest-runner pbr ];
propagatedBuildInputs = [ requests requests_oauthlib requests-toolbelt defusedxml pbr ipython ];
# impure tests because of connectivity attempts to jira servers
doCheck = false;
patches = [ ./sphinx-fix.patch ];
LC_ALL = "en_US.utf8";
disabled = !isPy3k;
meta = with lib; {
description = "This library eases the use of the JIRA REST API from Python.";
license = licenses.bsd2;
maintainers = with maintainers; [ globin ];
};
}