generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crx3.nix
37 lines (31 loc) · 770 Bytes
/
crx3.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 = "crx3";
version = "0.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "liying2008";
repo = "python-crx3";
rev = "v${version}";
hash = "sha256-2Ter3QU5MhD+adPk3VwAOqYan3E4H042c03cbS6FyPw=";
};
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
propagatedBuildInputs = with python3.pkgs; [
cryptography
protobuf
];
pythonImportsCheck = [ "crx3" ];
meta = with lib; {
description = "Chrome extension (crx) packaging & parsing library";
homepage = "https://github.com/liying2008/python-crx3";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "crx3";
};
}