Merge pull request #289939 from fabaff/axis-bump

python311Packages.axis: refactor
This commit is contained in:
Fabian Affolter 2024-03-09 01:09:55 +01:00 committed by GitHub
commit 6b3b8bb7e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,23 +7,34 @@
, orjson
, packaging
, pythonOlder
, setuptools
, xmltodict
}:
buildPythonPackage rec {
pname = "axis";
version = "50";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "Kane610";
repo = pname;
repo = "axis";
rev = "refs/tags/v${version}";
hash = "sha256-Zu8hT6t7ZxlgXQKb2o20FpB15n9y/+n1qMctzcRP8F8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools==68.0.0" "setuptools" \
--replace-fail "wheel==0.40.0" "wheel"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
async-timeout
attrs