python3Packages.aiosmb: init at 0.2.37

This commit is contained in:
Fabian Affolter 2021-03-24 14:20:28 +01:00
parent 14efa32fa5
commit 5500cb5145
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib
, asysocks
, buildPythonPackage
, fetchPypi
, minikerberos
, prompt_toolkit
, pythonOlder
, six
, tqdm
, winacl
, winsspi
}:
buildPythonPackage rec {
pname = "aiosmb";
version = "0.2.37";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "0daf1fk7406vpywc0yxv0wzf4nw986js9lc2agfyfxz0q7s29lf0";
};
propagatedBuildInputs = [
minikerberos
winsspi
six
asysocks
tqdm
prompt_toolkit
winacl
];
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [ "aiosmb" ];
meta = with lib; {
description = "Python SMB library";
homepage = "https://github.com/skelsec/aiosmb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -322,6 +322,8 @@ in {
aioshelly = callPackage ../development/python-modules/aioshelly { };
aiosmb = callPackage ../development/python-modules/aiosmb { };
aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
aiosqlite = callPackage ../development/python-modules/aiosqlite { };