From 83e8d505ba5cef8e974c95727232c4732d4431e9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 May 2026 15:52:00 +0200 Subject: [PATCH] python3Packages.wslink: 2.5.0 -> 2.5.7 Diff: https://github.com/kitware/wslink/compare/v2.5.0...v2.5.7 Changelog: https://github.com/Kitware/wslink/releases/tag/v2.5.7 --- .../python-modules/wslink/default.nix | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/wslink/default.nix b/pkgs/development/python-modules/wslink/default.nix index ac95520aa2eb..5245d30efdda 100644 --- a/pkgs/development/python-modules/wslink/default.nix +++ b/pkgs/development/python-modules/wslink/default.nix @@ -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 ]; };