3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/atlassian-python-api/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
898 B
Nix
Raw Normal View History

{ 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";
2020-08-25 03:07:09 +01:00
src = fetchFromGitHub {
owner = "atlassian-api";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-O0hD8PCmUH38k2a0cnt4Ihb+8/wb9RIL27xc/LONBU0=";
};
2020-08-25 03:07:09 +01:00
propagatedBuildInputs = [
deprecated
oauthlib
requests
requests-oauthlib
six
];
checkInputs = [
pytestCheckHook
];
2020-08-25 03:07:09 +01:00
pythonImportsCheck = [
"atlassian"
];
2020-08-25 03:07:09 +01:00
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 ];
};
}