2021-03-24 13:20:28 +00:00
|
|
|
{ lib
|
2022-09-17 11:03:33 +00:00
|
|
|
, asyauth
|
2021-03-24 13:20:28 +00:00
|
|
|
, asysocks
|
|
|
|
, buildPythonPackage
|
2021-04-20 20:23:49 +00:00
|
|
|
, colorama
|
2022-03-30 21:07:10 +00:00
|
|
|
, fetchPypi
|
2021-03-24 13:20:28 +00:00
|
|
|
, minikerberos
|
2021-07-22 15:02:31 +00:00
|
|
|
, prompt-toolkit
|
2021-07-10 11:47:01 +00:00
|
|
|
, pycryptodomex
|
2021-03-24 13:20:28 +00:00
|
|
|
, pythonOlder
|
|
|
|
, six
|
|
|
|
, tqdm
|
|
|
|
, winacl
|
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiosmb";
|
2022-10-06 18:28:00 +00:00
|
|
|
version = "0.4.3";
|
2022-03-30 21:07:10 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2021-03-24 13:20:28 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2022-03-30 21:07:10 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-06 18:28:00 +00:00
|
|
|
hash = "sha256-jJVXGBK8wWXEGvCzOTicHUh9jH35d1ARIxkLwn/ctjM=";
|
2021-03-24 13:20:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-09-17 11:03:33 +00:00
|
|
|
asyauth
|
2021-04-20 20:23:49 +00:00
|
|
|
asysocks
|
|
|
|
colorama
|
2021-03-24 13:20:28 +00:00
|
|
|
minikerberos
|
2021-07-22 15:02:31 +00:00
|
|
|
prompt-toolkit
|
2021-07-10 11:47:01 +00:00
|
|
|
pycryptodomex
|
2021-03-24 13:20:28 +00:00
|
|
|
six
|
|
|
|
tqdm
|
|
|
|
winacl
|
2021-04-20 20:23:49 +00:00
|
|
|
winsspi
|
2021-03-24 13:20:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project doesn't have tests
|
|
|
|
doCheck = false;
|
2021-07-10 11:47:01 +00:00
|
|
|
|
2022-03-30 21:07:10 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiosmb"
|
|
|
|
];
|
2021-03-24 13:20:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python SMB library";
|
|
|
|
homepage = "https://github.com/skelsec/aiosmb";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|