nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 aiohttp,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lib,
6 mashumaro,
7 numpy,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "onedrive-personal-sdk";
13 version = "0.1.7";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "zweckj";
18 repo = "onedrive-personal-sdk";
19 tag = "v${version}";
20 hash = "sha256-V95lfq8GnuitdFbY8MPpX0kyvj8Gx24W2NFeKp0FsSo=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 aiohttp
27 mashumaro
28 numpy
29 ];
30
31 pythonImportsCheck = [ "onedrive_personal_sdk" ];
32
33 # upstream has no tests
34 doCheck = false;
35
36 meta = {
37 changelog = "https://github.com/zweckj/onedrive-personal-sdk/releases/tag/${src.tag}";
38 description = "Package to interact with the Microsoft Graph API for personal OneDrives";
39 homepage = "https://github.com/zweckj/onedrive-personal-sdk";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ dotlambda ];
42 };
43}