1{ lib
2, aiowinreg
3, buildPythonPackage
4, colorama
5, fetchFromGitHub
6, pycryptodomex
7, pythonOlder
8, setuptools
9, tqdm
10, unicrypto
11}:
12
13buildPythonPackage rec {
14 pname = "aesedb";
15 version = "0.1.4";
16 format = "pyproject";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchFromGitHub {
21 owner = "skelsec";
22 repo = pname;
23 rev = "refs/tags/${version}";
24 hash = "sha256-QqPy68rWabRY0Y98W+odwP/10gMtLAQ0Ah2+ZLkqHPI=";
25 };
26
27 nativeBuildInputs = [
28 setuptools
29 ];
30
31 propagatedBuildInputs = [
32 aiowinreg
33 colorama
34 pycryptodomex
35 tqdm
36 unicrypto
37 ];
38
39 # Module has no tests
40 doCheck = false;
41
42 pythonImportsCheck = [
43 "aesedb"
44 ];
45
46 meta = with lib; {
47 description = "Parser for JET databases";
48 homepage = "https://github.com/skelsec/aesedb";
49 changelog = "https://github.com/skelsec/aesedb/releases/tag/${version}";
50 license = with licenses; [ mit ];
51 maintainers = with maintainers; [ fab ];
52 };
53}