mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
34 lines
843 B
Nix
34 lines
843 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "python-dropbox-api";
|
|
version = "0.1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bdr99";
|
|
repo = "python-dropbox-api";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-Ry2FsatM2pOxcnwdlPr1RFaHCEvbsaa+RAHxpav5leM=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
pythonImportsCheck = [ "python_dropbox_api" ];
|
|
|
|
meta = {
|
|
description = "Lightweight wrapper for the Dropbox API intended for use in Home Assistant";
|
|
homepage = "https://github.com/bdr99/python-dropbox-api";
|
|
changelog = "https://github.com/bdr99/python-dropbox-api/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.jamiemagee ];
|
|
};
|
|
})
|