depot/third_party/nixpkgs/pkgs/development/python-modules/asana/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

46 lines
887 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
, requests-oauthlib
, responses
}:
buildPythonPackage rec {
pname = "asana";
version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "asana";
repo = "python-asana";
rev = "refs/tags/v${version}";
hash = "sha256-+lktPFCL2c79dNGgbsaFJRELmV6sJ2kiBSb8kd9XPIQ=";
};
propagatedBuildInputs = [
requests
requests-oauthlib
];
checkInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [
"asana"
];
meta = with lib; {
description = "Python client library for Asana";
homepage = "https://github.com/asana/python-asana";
changelog = "https://github.com/Asana/python-asana/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}