Files
nixpkgs/pkgs/development/python-modules/asana/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

49 lines
912 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
certifi,
six,
python-dateutil,
urllib3,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "asana";
version = "5.0.7";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "asana";
repo = "python-asana";
rev = "refs/tags/v${version}";
hash = "sha256-X6444LU2hcx4Er5N+WbSjgbe2tHjl1y1z5FqZGngiOw=";
};
build-system = [ setuptools ];
dependencies = [
certifi
six
python-dateutil
urllib3
];
nativeCheckInputs = [ pytestCheckHook ];
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 = [ ];
};
}