1{ lib
2, asyauth
3, asysocks
4, buildPythonPackage
5, colorama
6, fetchPypi
7, minikerberos
8, prompt-toolkit
9, pycryptodomex
10, pythonOlder
11, six
12, tqdm
13, winacl
14, winsspi
15}:
16
17buildPythonPackage rec {
18 pname = "aiosmb";
19 version = "0.4.3";
20 format = "setuptools";
21
22 disabled = pythonOlder "3.7";
23
24 src = fetchPypi {
25 inherit pname version;
26 hash = "sha256-jJVXGBK8wWXEGvCzOTicHUh9jH35d1ARIxkLwn/ctjM=";
27 };
28
29 propagatedBuildInputs = [
30 asyauth
31 asysocks
32 colorama
33 minikerberos
34 prompt-toolkit
35 pycryptodomex
36 six
37 tqdm
38 winacl
39 winsspi
40 ];
41
42 # Project doesn't have tests
43 doCheck = false;
44
45 pythonImportsCheck = [
46 "aiosmb"
47 ];
48
49 meta = with lib; {
50 description = "Python SMB library";
51 homepage = "https://github.com/skelsec/aiosmb";
52 license = with licenses; [ mit ];
53 maintainers = with maintainers; [ fab ];
54 };
55}