generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pychrome.nix
38 lines (32 loc) · 798 Bytes
/
pychrome.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
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "pychrome";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "fate0";
repo = "pychrome";
rev = "v${version}";
hash = "sha256-iZ7x0MTTVZd+J2c+6vZJzekHuK0Ae70JbFKPsNrq21o=";
};
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
propagatedBuildInputs = with python3.pkgs; [
websocket-client
requests
click
];
pythonImportsCheck = [ "pychrome" ];
meta = with lib; {
description = "A Python Package for the Google Chrome Dev Protocol [threading base";
homepage = "https://github.com/fate0/pychrome";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
mainProgram = "pychrome";
};
}