python3Packages.wslink: 2.5.0 -> 2.5.7 (#522665)

This commit is contained in:
Fabian Affolter
2026-05-24 09:13:27 +00:00
committed by GitHub
@@ -1,33 +1,26 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
msgpack,
buildPythonPackage,
cryptography,
fetchFromGitHub,
hatchling,
msgpack,
}:
buildPythonPackage (finalAttrs: {
pname = "wslink";
version = "2.5.0";
version = "2.5.7";
pyproject = true;
src = fetchFromGitHub {
owner = "kitware";
repo = "wslink";
tag = "v${finalAttrs.version}";
hash = "sha256-g1I8qCuqfv+pA3IP7b57PZ7vCsykpfJNG97NgJ+N5lE=";
hash = "sha256-47vHc+b5Z3ipkLZ5k0yEasNaKz0Seu2jiGBVmAI5u6U=";
};
sourceRoot = "${finalAttrs.src.name}/python";
# add missing version string to dist-info
postPatch = ''
sed -i "/name *= */a\ version='${finalAttrs.version}'," setup.py
'';
build-system = [ setuptools ];
build-system = [ hatchling ];
dependencies = [
aiohttp
@@ -46,7 +39,7 @@ buildPythonPackage (finalAttrs: {
meta = {
description = "Python/JavaScript library for communicating over WebSocket";
homepage = "https://github.com/Kitware/wslink";
changelog = "https://github.com/Kitware/wslink/releases/tag/v${finalAttrs.version}";
changelog = "https://github.com/Kitware/wslink/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ qbisi ];
};