From b2c0126b94bd76503e8909e70ac98d730add0bbf Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Thu, 19 Apr 2018 17:47:32 +0200 Subject: [PATCH] python.pkgs.jira: init at 1.0.14 --- .../python-modules/jira/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/jira/default.nix diff --git a/pkgs/development/python-modules/jira/default.nix b/pkgs/development/python-modules/jira/default.nix new file mode 100644 index 000000000000..0d38e741962b --- /dev/null +++ b/pkgs/development/python-modules/jira/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pbr, glibcLocales +, pytestcov +, requests, requests_oauthlib, requests_toolbelt, defusedxml }: + +buildPythonPackage rec { + pname = "jira"; + version = "1.0.14"; + + src = fetchPypi { + inherit pname version; + sha256 = "1xncrcaqgj0gnva3bz5c4vwnn7z84v9cmr37pc93zx676w62fpm3"; + }; + + buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ]; + propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml ]; + + LC_ALL = "en_US.utf8"; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6635721ee958..02fcb325527d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -271,6 +271,8 @@ in { intelhex = callPackage ../development/python-modules/intelhex { }; + jira = callPackage ../development/python-modules/jira { }; + lmtpd = callPackage ../development/python-modules/lmtpd { }; logster = callPackage ../development/python-modules/logster { };