nixpkgs/pkgs/development/python-modules/simple-websocket-server/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

27 lines
702 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage {
pname = "simple-websocket-server";
version = "20180414";
format = "setuptools";
src = fetchFromGitHub {
owner = "dpallot";
repo = "simple-websocket-server";
rev = "34e6def93502943d426fb8bb01c6901341dd4fe6";
sha256 = "19rcpdx4vxg9is1cpyh9m9br5clyzrpb7gyfqsl0g3im04m098n5";
};
doCheck = false; # no tests
meta = {
description = "Python based websocket server that is simple and easy to use";
homepage = "https://github.com/dpallot/simple-websocket-server/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rvolosatovs ];
platforms = lib.platforms.all;
};
}