Skip to content

Commit

Permalink
Merge pull request NixOS#227908 from dotlambda/ypy-websocket-0.9.0
Browse files Browse the repository at this point in the history
python310Packages.ypy-websocket: 0.8.4 -> 0.9.0
  • Loading branch information
dotlambda authored Jul 15, 2023
2 parents 3470bea + 4d9c954 commit 27fcd46
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, pythonOlder
, fetchFromGitHub
, hatchling
, pythonRelaxDepsHook
, jupyter-server-fileid
, jupyter-ydoc
, ypy-websocket
Expand Down Expand Up @@ -31,6 +32,11 @@ buildPythonPackage rec {

nativeBuildInputs = [
hatchling
pythonRelaxDepsHook
];

pythonRelaxDeps = [
"ypy-websocket"
];

propagatedBuildInputs = [
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/python-modules/ypy-websocket/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
, pythonOlder
, fetchFromGitHub
, hatchling
, aiofiles
, aiosqlite
, anyio
, y-py
, pytest-asyncio
, pytestCheckHook
Expand All @@ -14,7 +14,7 @@

buildPythonPackage rec {
pname = "ypy-websocket";
version = "0.8.4";
version = "0.9.0";
format = "pyproject";

disabled = pythonOlder "3.7";
Expand All @@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "y-crdt";
repo = "ypy-websocket";
rev = "refs/tags/v${version}";
hash = "sha256-jl2ciIA3enJRfPgcu96MZN+BmNL+bBet54AFDBy3seY=";
hash = "sha256-dHcXJavzR1BDAM9Xjm144gfNMSDEkenumI3POBfCjvQ=";
};

pythonRelaxDeps = [
Expand All @@ -36,8 +36,8 @@ buildPythonPackage rec {
];

propagatedBuildInputs = [
aiofiles
aiosqlite
anyio
y-py
];

Expand All @@ -57,7 +57,7 @@ buildPythonPackage rec {
];

meta = {
changelog = "https://github.com/y-crdt/ypy-websocket/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/y-crdt/ypy-websocket/blob/${src.rev}/CHANGELOG.md";
description = "WebSocket Connector for Ypy";
homepage = "https://github.com/y-crdt/ypy-websocket";
license = lib.licenses.mit;
Expand Down

0 comments on commit 27fcd46

Please sign in to comment.