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