generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pychromedevtools.nix
37 lines (31 loc) · 899 Bytes
/
pychromedevtools.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
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "pychromedevtools";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "marty90";
repo = "PyChromeDevTools";
rev = version;
hash = "sha256-+cAH4iq+95mLjDQEaNnGR+jbVq230oihPXjbHKbd47k=";
};
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
propagatedBuildInputs = with python3.pkgs; [
requests
websocket-client
];
pythonImportsCheck = [ "PyChromeDevTools" ];
meta = with lib; {
description = "PyChromeDevTools is a python module that allows one to interact with Google Chrome using Chrome DevTools Protocol within a Python script";
homepage = "https://github.com/marty90/PyChromeDevTools";
license = licenses.asl20;
maintainers = with maintainers; [ ];
mainProgram = "py-chrome-dev-tools";
};
}