1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-05 23:32:35 +03:00
nixpkgs/pkgs/development/python-modules/wsproto/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
665 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, h11
, pytestCheckHook
}:
2018-03-05 17:18:02 +01:00
buildPythonPackage rec {
pname = "wsproto";
version = "1.2.0";
disabled = pythonOlder "3.7";
2018-03-05 17:18:02 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rVZfJuy5JYij5DvD2WFk3oTNmQJIKxMNDduqlmSoUGU=";
2018-03-05 17:18:02 +01:00
};
propagatedBuildInputs = [ h11 ];
2018-03-05 17:18:02 +01:00
checkInputs = [ pytestCheckHook ];
2019-02-14 08:37:33 +01:00
pythonImportsCheck = [ "wsproto" ];
2019-02-14 08:37:33 +01:00
2019-04-17 19:56:56 +02:00
meta = with lib; {
description = "Pure Python, pure state-machine WebSocket implementation";
homepage = "https://github.com/python-hyper/wsproto/";
2019-04-17 19:56:56 +02:00
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
2019-04-17 19:56:56 +02:00
};
2018-03-05 17:18:02 +01:00
}