1{ buildPythonPackage, freezegun, fetchFromGitHub, lib, pytestCheckHook
2, pytest-mock, pytest-runner, six, tornado_4 }:
3
4buildPythonPackage rec {
5 pname = "lomond";
6 version = "0.3.3";
7
8 src = fetchFromGitHub {
9 owner = "wildfoundry";
10 repo = "dataplicity-${pname}";
11 rev = "b30dad3cc38d5ff210c5dd01f8c3c76aa6c616d1";
12 sha256 = "0lydq0imala08wxdyg2iwhqa6gcdrn24ah14h91h2zcxjhjk4gv8";
13 };
14
15 nativeBuildInputs = [ pytest-runner ];
16 propagatedBuildInputs = [ six ];
17 checkInputs = [ pytestCheckHook freezegun pytest-mock tornado_4 ];
18 # Makes HTTP requests
19 disabledTests = [ "test_proxy" "test_live" ];
20
21 meta = with lib; {
22 description = "Websocket Client Library";
23 homepage = "https://github.com/wildfoundry/dataplicity-lomond";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ jamiemagee ];
26 };
27}