python3Packages.aiosmb: init at 0.2.37
commit5500cb5145ea987d8e24ca18ecaa0e5d711c999d
authorFabian Affolter <mail@fabian-affolter.ch>
dateWed 24 Mar 2021, 14:20 (6 years ago)
parent14efa32
pkgs/development/python-modules/aiosmb/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ lib
2+, asysocks
3+, buildPythonPackage
4+, fetchPypi
5+, minikerberos
6+, prompt_toolkit
7+, pythonOlder
8+, six
9+, tqdm
10+, winacl
11+, winsspi
12+}:
13+
14+buildPythonPackage rec {
15+ pname = "aiosmb";
16+ version = "0.2.37";
17+ disabled = pythonOlder "3.7";
18+
19+ src = fetchPypi {
20+ inherit pname version;
21+ sha256 = "0daf1fk7406vpywc0yxv0wzf4nw986js9lc2agfyfxz0q7s29lf0";
22+ };
23+
24+ propagatedBuildInputs = [
25+ minikerberos
26+ winsspi
27+ six
28+ asysocks
29+ tqdm
30+ prompt_toolkit
31+ winacl
32+ ];
33+
34+ # Project doesn't have tests
35+ doCheck = false;
36+ pythonImportsCheck = [ "aiosmb" ];
37+
38+ meta = with lib; {
39+ description = "Python SMB library";
40+ homepage = "https://github.com/skelsec/aiosmb";
41+ license = with licenses; [ mit ];
42+ maintainers = with maintainers; [ fab ];
43+ };
44+}
pkgs/top-level/python-packages.nix+2
@@ -322,6 +322,8 @@ in {
322322
323323 aioshelly = callPackage ../development/python-modules/aioshelly { };
324324
325+ aiosmb = callPackage ../development/python-modules/aiosmb { };
326+
325327 aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
326328
327329 aiosqlite = callPackage ../development/python-modules/aiosqlite { };