Skip to content

Commit

Permalink
python313Packages.dulwich: 0.22.1 -> 0.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Oct 28, 2024
1 parent b31cd5e commit 71efdcf
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions pkgs/development/python-modules/dulwich/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}:

buildPythonPackage rec {
version = "0.22.1";
version = "0.22.2";
pname = "dulwich";
format = "setuptools";

Expand All @@ -30,23 +30,15 @@ buildPythonPackage rec {
owner = "jelmer";
repo = "dulwich";
rev = "refs/tags/dulwich-${version}";
hash = "sha256-bf3ZUMX4afpdTBpFnx0HMyzCNG6V/p4eOl36djxGbtk=";
hash = "sha256-yM1U8DowevtZt6qqSybur7xmwRnlJ0rwV0qJfQf+ZIs=";
};

patches = [
(fetchpatch2 {
name = "dulwich-geventhttpclient-api-breakage.patch";
url = "https://github.com/jelmer/dulwich/commit/5f0497de9c37ac4f4e8f27bed8decce13765d3df.patch";
hash = "sha256-0GgDgmYuLCsMc9nRRLNL2W6WYrkZ/1ZnZBQusEAzLKI=";
})
];

build-system = [
setuptools
setuptools-rust
];

propagatedBuildInputs = [
dependencies = [
urllib3
];

Expand All @@ -63,12 +55,12 @@ buildPythonPackage rec {
nativeCheckInputs =
[
gevent
geventhttpclient
git
glibcLocales
unittestCheckHook
]
++ lib.flatten (lib.attrValues optional-dependencies);
++ lib.flatten (lib.attrValues optional-dependencies)
++ lib.optionals (pythonOlder "3.13") [ geventhttpclient ];

preCheck = ''
# requires swift config file
Expand Down

0 comments on commit 71efdcf

Please sign in to comment.