38 lines
790 B
Nix
38 lines
790 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
hatchling,
|
|
aiohttp,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "genie-partner-sdk";
|
|
version = "1.0.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "genie_partner_sdk";
|
|
hash = "sha256-DwbIe1pq1YKAA3hRlhYCVJ9xtvfxvoqLLjDSQicUKuw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hatchling ];
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "genie_partner_sdk" ];
|
|
|
|
meta = with lib; {
|
|
description = "An SDK to interact with the AladdinConnect (or OHD) partner API";
|
|
homepage = "https://github.com/Genie-Garage/aladdin-python-sdk";
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ jamiemagee ];
|
|
};
|
|
}
|