python313Packages.pyaussiebb: 0.1.5 -> 0.1.6

Diff: https://github.com/yaleman/aussiebb/compare/refs/tags/v0.1.5...refs/tags/v0.1.6

Changelog: https://github.com/yaleman/pyaussiebb/blob/v0.1.6/CHANGELOG.md

Changed files
+8 -18
pkgs
development
python-modules
pyaussiebb
+8 -18
pkgs/development/python-modules/pyaussiebb/default.nix
···
aiohttp,
buildPythonPackage,
fetchFromGitHub,
-
loguru,
pydantic,
-
poetry-core,
-
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "pyaussiebb";
-
version = "0.1.5";
pyproject = true;
-
disabled = pythonOlder "3.9";
-
src = fetchFromGitHub {
owner = "yaleman";
repo = "aussiebb";
tag = "v${version}";
-
hash = "sha256-ejaHweoRNrJJq6XGeTrENco8SPwwu6rSpGzksu0CsCY=";
};
-
postPatch = ''
-
substituteInPlace pyproject.toml \
-
--replace-fail 'requests = "^2.27.1"' 'requests = "*"'
-
'';
-
-
build-system = [ poetry-core ];
dependencies = [
aiohttp
requests
-
loguru
pydantic
];
···
pythonImportsCheck = [ "aussiebb" ];
-
meta = with lib; {
description = "Module for interacting with the Aussie Broadband APIs";
homepage = "https://github.com/yaleman/aussiebb";
-
changelog = "https://github.com/yaleman/pyaussiebb/blob/v${version}/CHANGELOG.md";
-
license = with licenses; [ mit ];
-
maintainers = with maintainers; [ fab ];
};
}
···
aiohttp,
buildPythonPackage,
fetchFromGitHub,
+
pdm-backend,
pydantic,
requests,
}:
buildPythonPackage rec {
pname = "pyaussiebb";
+
version = "0.1.6";
pyproject = true;
src = fetchFromGitHub {
owner = "yaleman";
repo = "aussiebb";
tag = "v${version}";
+
hash = "sha256-GD04Bq+uJs2JuTjtnGh6QKD4uFXwmGcOMB1Hu9yBlkI=";
};
+
build-system = [ pdm-backend ];
dependencies = [
aiohttp
requests
pydantic
];
···
pythonImportsCheck = [ "aussiebb" ];
+
meta = {
description = "Module for interacting with the Aussie Broadband APIs";
homepage = "https://github.com/yaleman/aussiebb";
+
changelog = "https://github.com/yaleman/pyaussiebb/blob/${src.tag}/CHANGELOG.md";
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ fab ];
};
}