mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.atlassian-python-api: add pythonImportsCheck
This commit is contained in:
parent
26b1df8a99
commit
092fe80925
1 changed files with 16 additions and 2 deletions
|
@ -7,11 +7,15 @@
|
|||
, 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";
|
||||
|
@ -20,16 +24,26 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-SJsqk8TM+5UztN1ZDyYrOjNIWDLhm5XtLxPflIGPxKQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
deprecated
|
||||
oauthlib
|
||||
requests
|
||||
requests_oauthlib
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ deprecated oauthlib requests requests_oauthlib six ];
|
||||
pythonImportsCheck = [
|
||||
"atlassian"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Atlassian REST API Wrapper";
|
||||
homepage = "https://github.com/atlassian-api/atlassian-python-api";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.arnoldfarkas ];
|
||||
maintainers = with maintainers; [ arnoldfarkas ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue