2021-03-20 04:20:00 +00:00
|
|
|
{ lib
|
2022-09-22 12:36:57 +00:00
|
|
|
, asyauth
|
2021-03-20 04:20:00 +00:00
|
|
|
, asysocks
|
|
|
|
, buildPythonPackage
|
2021-04-22 02:08:21 +00:00
|
|
|
, colorama
|
2022-04-03 18:54:34 +00:00
|
|
|
, fetchPypi
|
2021-03-20 04:20:00 +00:00
|
|
|
, minikerberos
|
2021-08-05 21:33:18 +00:00
|
|
|
, prompt-toolkit
|
2021-07-14 22:03:04 +00:00
|
|
|
, pycryptodomex
|
2021-03-20 04:20:00 +00:00
|
|
|
, pythonOlder
|
|
|
|
, six
|
|
|
|
, tqdm
|
|
|
|
, winacl
|
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiosmb";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.4.3";
|
2022-04-03 18:54:34 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-21 18:38:19 +00:00
|
|
|
hash = "sha256-jJVXGBK8wWXEGvCzOTicHUh9jH35d1ARIxkLwn/ctjM=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-09-22 12:36:57 +00:00
|
|
|
asyauth
|
2021-04-22 02:08:21 +00:00
|
|
|
asysocks
|
|
|
|
colorama
|
2021-03-20 04:20:00 +00:00
|
|
|
minikerberos
|
2021-08-05 21:33:18 +00:00
|
|
|
prompt-toolkit
|
2021-07-14 22:03:04 +00:00
|
|
|
pycryptodomex
|
2021-03-20 04:20:00 +00:00
|
|
|
six
|
|
|
|
tqdm
|
|
|
|
winacl
|
2021-04-22 02:08:21 +00:00
|
|
|
winsspi
|
2021-03-20 04:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project doesn't have tests
|
|
|
|
doCheck = false;
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiosmb"
|
|
|
|
];
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python SMB library";
|
|
|
|
homepage = "https://github.com/skelsec/aiosmb";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|