nixpkgs/pkgs/development/python-modules/atlassian-python-api/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.1 KiB
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
beautifulsoup4,
deprecated,
jmespath,
lxml,
oauthlib,
requests,
requests-kerberos,
requests-oauthlib,
six,
typing-extensions,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "4.0.4";
format = "setuptools";
disabled = pythonOlder "3.7";
2020-08-25 12:07:09 +10:00
src = fetchFromGitHub {
owner = "atlassian-api";
repo = "atlassian-python-api";
tag = version;
hash = "sha256-iF4gjF/5QbdjJKCWMdElc+gdIy2+D7TV6gpoPZsTv14=";
};
2020-08-25 12:07:09 +10:00
dependencies = [
beautifulsoup4
deprecated
jmespath
lxml
oauthlib
requests
requests-kerberos
requests-oauthlib
six
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
2020-08-25 12:07:09 +10:00
pythonImportsCheck = [ "atlassian" ];
2020-08-25 12:07:09 +10:00
meta = with lib; {
description = "Python Atlassian REST API Wrapper";
homepage = "https://github.com/atlassian-api/atlassian-python-api";
changelog = "https://github.com/atlassian-api/atlassian-python-api/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ arnoldfarkas ];
};
}