2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
asyauth,
|
|
|
|
asysocks,
|
|
|
|
buildPythonPackage,
|
|
|
|
colorama,
|
|
|
|
cryptography,
|
|
|
|
fetchPypi,
|
|
|
|
minikerberos,
|
|
|
|
prompt-toolkit,
|
|
|
|
pycryptodomex,
|
|
|
|
pythonOlder,
|
|
|
|
six,
|
|
|
|
tqdm,
|
|
|
|
winacl,
|
|
|
|
winsspi,
|
2021-03-20 04:20:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiosmb";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.4.10";
|
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;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-uN5lbhuPt9axp2ZTTxDgHuDRwlQjXANEkGPgQJL1o90=";
|
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
|
2023-10-09 19:29:22 +00:00
|
|
|
cryptography
|
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
|
|
|
|
2024-06-05 15:53:02 +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";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/skelsec/aiosmb/releases/tag/${version}";
|
2021-03-20 04:20:00 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|