Martin Weinelt 72c5e49144
python3Packages.miniupnpc: 2.3.0 -> 2.3.2
This commit was automatically generated using update-python-libraries.
2025-04-03 23:12:37 +02:00

47 lines
940 B
Nix

{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
setuptools,
cctools,
which,
}:
buildPythonPackage rec {
pname = "miniupnpc";
version = "2.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-XCHRKwUEm1Amoth0ekzYCwe5rmG4mLXcZiSXzHsbmTU=";
};
patches = [
# TODO: remove this patch when updating to the next release
(fetchpatch {
url = "https://github.com/miniupnp/miniupnp/commit/f79ae6738d10af633844dcf3ecd9c587e8f9508d.patch";
stripLen = 1;
hash = "sha256-g+D9Cw5knTy5a7M0wAQkw8MZ6iZR8RQUT6A0WAc6Q5U=";
})
];
build-system = [
setuptools
];
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
cctools
which
];
meta = with lib; {
description = "miniUPnP client";
homepage = "http://miniupnp.free.fr/";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}