python312Packages.asana: use pyproject = true, fix missing dependencies

This commit is contained in:
TomaSajt
2024-05-07 21:09:56 +02:00
parent db3041f042
commit 4e90cc6754
@@ -1,18 +1,19 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
, requests-oauthlib
, responses
, setuptools
, certifi
, six
, python-dateutil
, urllib3
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "asana";
version = "5.0.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -23,15 +24,17 @@ buildPythonPackage rec {
hash = "sha256-9F63DvwMh9NwlTqFuhiXfgRRRxAFjjRYmYzsuOhlQJ0=";
};
propagatedBuildInputs = [
requests
requests-oauthlib
build-system = [ setuptools ];
dependencies = [
certifi
six
python-dateutil
urllib3
];
nativeCheckInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [