depot/third_party/nixpkgs/pkgs/development/python-modules/asana/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

47 lines
812 B
Nix

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