Merge pull request #291514 from fabaff/yalexs-bump

python311Packages.yalexs: 1.11.2 -> 1.11.3
This commit is contained in:
Nick Cao 2024-02-26 09:54:34 -05:00 committed by GitHub
commit 6d9ddbb5cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,22 +13,33 @@
, pythonOlder
, requests
, requests-mock
, setuptools
}:
buildPythonPackage rec {
pname = "yalexs";
version = "1.11.2";
format = "setuptools";
version = "1.11.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
repo = "yalexs";
rev = "refs/tags/v${version}";
hash = "sha256-FHaHXbRtgbBrveHPbrPsP+vGIvscot3ilpPFucISces=";
hash = "sha256-BO+tgRHQsvRkkueIHa56YABfK5+QqnRlGrRtNHqI1v4=";
};
postPatch = ''
# Not used requirement
substituteInPlace setup.py \
--replace-fail '"vol",' ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiofiles
aiohttp
@ -46,12 +57,6 @@ buildPythonPackage rec {
requests-mock
];
postPatch = ''
# Not used requirement
substituteInPlace setup.py \
--replace '"vol",' ""
'';
pythonImportsCheck = [
"yalexs"
];