13 buildPythonPackage rec {
14 pname = "smbprotocol";
16 format = "setuptools";
18 disabled = pythonOlder "3.6";
20 src = fetchFromGitHub {
24 sha256 = "sha256-u3brP3WsnoqRy3R0OQQkIbq+avS7nemx9GKpvTq+vxg=";
27 propagatedBuildInputs = [
38 disabledTests = lib.optionals stdenv.isDarwin [
39 # https://github.com/jborean93/smbprotocol/issues/119
40 "test_copymode_local_to_local_symlink_dont_follow"
41 "test_copystat_local_to_local_symlink_dont_follow_fail"
43 # fail in sandbox due to networking
48 pythonImportsCheck = [
53 description = "Python SMBv2 and v3 Client";
54 homepage = "https://github.com/jborean93/smbprotocol";
55 license = with licenses; [ mit ];
56 maintainers = with maintainers; [ fab ];