summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/atlassian-python-api
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-02-08 17:55:18 +0100
committerGitHub <noreply@github.com>2022-02-08 17:55:18 +0100
commit092fe80925dc09e2fd187d90f5f21712381e72e3 (patch)
tree9557d1a70fbc072400c13820415509d86cb8e919 /pkgs/development/python-modules/atlassian-python-api
parent26b1df8a99c99b7e2d0d058c453ea3b00de1b4d8 (diff)
python3Packages.atlassian-python-api: add pythonImportsCheck
Diffstat (limited to 'pkgs/development/python-modules/atlassian-python-api')
-rwxr-xr-xpkgs/development/python-modules/atlassian-python-api/default.nix18
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/atlassian-python-api/default.nix b/pkgs/development/python-modules/atlassian-python-api/default.nix
index 8846778ba401..399926c5e05f 100755
--- a/pkgs/development/python-modules/atlassian-python-api/default.nix
+++ b/pkgs/development/python-modules/atlassian-python-api/default.nix
@@ -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 ];
};
}