1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 hatchling,
6 aiohttp,
7 fetchPypi,
8}:
9
10buildPythonPackage rec {
11 pname = "genie-partner-sdk";
12 version = "1.0.11";
13 pyproject = true;
14
15 disabled = pythonOlder "3.11";
16
17 src = fetchPypi {
18 inherit version;
19 pname = "genie_partner_sdk";
20 hash = "sha256-eNeN+mtpPzY6p0iVo/ot0eLza/aeJP70PxNHx7/MVoY=";
21 };
22
23 nativeBuildInputs = [ hatchling ];
24
25 propagatedBuildInputs = [ aiohttp ];
26
27 # No tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "genie_partner_sdk" ];
31
32 meta = {
33 description = "SDK to interact with the AladdinConnect (or OHD) partner API";
34 homepage = "https://github.com/Genie-Garage/aladdin-python-sdk";
35 license = lib.licenses.mit;
36 maintainers = [ lib.maintainers.jamiemagee ];
37 };
38}