mirror of
https://github.com/milahu/nur-packages.git
synced 2024-10-05 23:27:32 +03:00
python3Packages.cdp-socket: init at 1.1.2
This commit is contained in:
parent
48516b4a68
commit
8bda373c1d
@ -290,6 +290,8 @@ pkgs.lib.makeScope pkgs.newScope (self: let inherit (self) callPackage; in rec {
|
||||
|
||||
speedtest-cli = callPackage ./pkgs/python3/pkgs/speedtest-cli/speedtest-cli.nix { };
|
||||
|
||||
cdp-socket = callPackage ./pkgs/python3/pkgs/cdp-socket/cdp-socket.nix { };
|
||||
|
||||
#}))); # python3.pkgs
|
||||
|
||||
#}))); # python3
|
||||
|
39
pkgs/python3/pkgs/cdp-socket/cdp-socket.nix
Normal file
39
pkgs/python3/pkgs/cdp-socket/cdp-socket.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "cdp-socket";
|
||||
version = "1.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kaliiiiiiiiii";
|
||||
repo = "CDP-Socket";
|
||||
rev = "df8ca70a5d1960fe792ab9ddd9f71b53a44187cf";
|
||||
hash = "sha256-wBmgg/qp7VA3cSLP4wjhMlMtWj9IXry7c+pntzW+yzQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiohttp
|
||||
setuptools
|
||||
twine
|
||||
websockets
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cdp_socket" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Socket for handling chrome-developer-protocol connections";
|
||||
homepage = "https://github.com/kaliiiiiiiiii/CDP-Socket";
|
||||
license = licenses.unfree; # FIXME: nix-init did not found a license
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "cdp-socket";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user