Files
nixpkgs/pkgs/development/python-modules/atlassian-python-api/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

58 lines
1.1 KiB
Nix

{
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.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "atlassian-api";
repo = "atlassian-python-api";
tag = version;
hash = "sha256-8zfM/3apGMo6sTPA5ESu2SkgVOJUA09Wz/pGR12fA7c=";
};
dependencies = [
beautifulsoup4
deprecated
jmespath
lxml
oauthlib
requests
requests-kerberos
requests-oauthlib
six
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "atlassian" ];
meta = {
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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ arnoldfarkas ];
};
}