mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
36 lines
930 B
Nix
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 ];
|
|
};
|
|
}
|