generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdp-socket.nix
39 lines (33 loc) · 905 Bytes
/
cdp-socket.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "cdp-socket";
version = "1.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "kaliiiiiiiiii";
repo = "CDP-Socket";
rev = "91882101aabac4cba5757a2f824b80d9300a64f2";
hash = "sha256-/LJvhx44700x67bBw40Loi9vdKAtHai4PBwiAF+GGsU=";
};
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
# https://github.com/kaliiiiiiiiii/CDP-Socket/blob/master/setup.py
propagatedBuildInputs = with python3.pkgs; [
aiohttp
websockets
orjson
];
pythonImportsCheck = [ "cdp_socket" ];
meta = with lib; {
description = "Socket for handling chrome-developer-protocol connections";
homepage = "https://github.com/kaliiiiiiiiii/CDP-Socket";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "cdp-socket";
};
}