Merge pull request #289939 from fabaff/axis-bump
python311Packages.axis: refactor
This commit is contained in:
commit
6b3b8bb7e7
1 changed files with 14 additions and 3 deletions
|
@ -7,23 +7,34 @@
|
||||||
, orjson
|
, orjson
|
||||||
, packaging
|
, packaging
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
, xmltodict
|
, xmltodict
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "axis";
|
pname = "axis";
|
||||||
version = "50";
|
version = "50";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kane610";
|
owner = "Kane610";
|
||||||
repo = pname;
|
repo = "axis";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Zu8hT6t7ZxlgXQKb2o20FpB15n9y/+n1qMctzcRP8F8=";
|
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 = [
|
propagatedBuildInputs = [
|
||||||
async-timeout
|
async-timeout
|
||||||
attrs
|
attrs
|
||||||
|
|
Loading…
Reference in a new issue