depot/third_party/nixpkgs/pkgs/development/python-modules/atlassian-python-api/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

49 lines
883 B
Nix
Executable file

{ lib
, buildPythonPackage
, fetchFromGitHub
, deprecated
, oauthlib
, requests
, requests_oauthlib
, six
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "3.19.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "atlassian-api";
repo = pname;
rev = version;
sha256 = "sha256-SJsqk8TM+5UztN1ZDyYrOjNIWDLhm5XtLxPflIGPxKQ=";
};
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 ];
};
}