2021-03-20 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, asysocks
|
|
|
|
, buildPythonPackage
|
2021-04-22 02:08:21 +00:00
|
|
|
, colorama
|
2021-08-05 21:33:18 +00:00
|
|
|
, fetchFromGitHub
|
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";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "0.2.50";
|
2021-03-20 04:20:00 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skelsec";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "016pylxqmzm1hn1mvx6jhxvgckdqpf993sd1bki07pblmm4ikl6q";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
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
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
pythonImportsCheck = [ "aiosmb" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python SMB library";
|
|
|
|
homepage = "https://github.com/skelsec/aiosmb";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|