depot/third_party/nixpkgs/pkgs/development/python-modules/atlassian-python-api/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

49 lines
898 B
Nix
Executable file

{ lib
, buildPythonPackage
, fetchFromGitHub
, deprecated
, oauthlib
, requests
, requests-oauthlib
, six
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "3.25.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "atlassian-api";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-O0hD8PCmUH38k2a0cnt4Ihb+8/wb9RIL27xc/LONBU0=";
};
propagatedBuildInputs = [
deprecated
oauthlib
requests
requests-oauthlib
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"atlassian"
];
meta = with lib; {
description = "Python Atlassian REST API Wrapper";
homepage = "https://github.com/atlassian-api/atlassian-python-api";
license = licenses.asl20;
maintainers = with maintainers; [ arnoldfarkas ];
};
}