42 lines
915 B
Nix
42 lines
915 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
mashumaro,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "onedrive-personal-sdk";
|
|
version = "0.0.14";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zweckj";
|
|
repo = "onedrive-personal-sdk";
|
|
tag = "v${version}";
|
|
hash = "sha256-WdnkIMmTzvid2bl7n9NHMtF153O91hutMib8bs5BgIs=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
mashumaro
|
|
];
|
|
|
|
pythonImportsCheck = [ "onedrive_personal_sdk" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/zweckj/onedrive-personal-sdk/releases/tag/${src.tag}";
|
|
description = "Package to interact with the Microsoft Graph API for personal OneDrives";
|
|
homepage = "https://github.com/zweckj/onedrive-personal-sdk";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|