Skip to content

Commit

Permalink
python311Packages.yarl: 1.9.2 -> 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Nov 21, 2023
1 parent f1f62c9 commit dd9fbe8
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions pkgs/development/python-modules/yarl/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonAtLeast
, pythonOlder
, cython
, expandvars
, setuptools
, idna
, multidict
, typing-extensions
Expand All @@ -12,29 +13,27 @@

buildPythonPackage rec {
pname = "yarl";
version = "1.9.2";
version = "1.9.3";

disabled = pythonOlder "3.7";

format = "setuptools";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-BKudS59YfAbYAcKr/pMXt3zfmWxlqQ1ehOzEUBCCNXE=";
hash = "sha256-ShSQe1l+xVdA9j5S1/7g6e4J1bnVek85mnQjJo5Fe1c=";
};

patches = [
# https://github.com/aio-libs/yarl/issues/876
(fetchpatch {
url = "https://github.com/aio-libs/yarl/commit/0a94c6e4948e00fff072c0cf367afbf4ac36f906.patch";
hash = "sha256-bqT46OLZLkBef8FQ1L95ITD70mC3+WIkr3+h2ekKrvE=";
})
];

postPatch = ''
sed -i '/^addopts/d' setup.cfg
'';

nativeBuildInputs = [
cython
expandvars
setuptools
];

propagatedBuildInputs = [
idna
multidict
Expand Down

0 comments on commit dd9fbe8

Please sign in to comment.