mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 10:46:31 +01:00
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>
27 lines
702 B
Nix
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;
|
|
};
|
|
}
|