My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/atlassian-python-api/default.nix

49 lines
883 B

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