fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
57 lines
998 B
Nix
57 lines
998 B
Nix
{
|
|
lib,
|
|
asyauth,
|
|
asysocks,
|
|
buildPythonPackage,
|
|
colorama,
|
|
cryptography,
|
|
fetchPypi,
|
|
minikerberos,
|
|
prompt-toolkit,
|
|
pycryptodomex,
|
|
pythonOlder,
|
|
six,
|
|
tqdm,
|
|
winacl,
|
|
winsspi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosmb";
|
|
version = "0.4.10";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-uN5lbhuPt9axp2ZTTxDgHuDRwlQjXANEkGPgQJL1o90=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
asyauth
|
|
asysocks
|
|
colorama
|
|
cryptography
|
|
minikerberos
|
|
prompt-toolkit
|
|
pycryptodomex
|
|
six
|
|
tqdm
|
|
winacl
|
|
winsspi
|
|
];
|
|
|
|
# Project doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiosmb" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python SMB library";
|
|
homepage = "https://github.com/skelsec/aiosmb";
|
|
changelog = "https://github.com/skelsec/aiosmb/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|