python3Packages.wslink: 2.5.0 -> 2.5.7 (#522665)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user