Unverified Commit 361e806c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #208600 from r-ryantm/auto-update/python3.10-pysmbc

python310Packages.pysmbc: 1.0.23 -> 1.0.24
parents 5a9a3353 7e7a2856
Loading
Loading
Loading
Loading
+16 −5
Original line number Diff line number Diff line
@@ -3,24 +3,35 @@
, fetchPypi
, samba
, pkg-config
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pysmbc";
  version = "1.0.23";
  version = "1.0.24";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1y0n1n6jkzf4mr5lqfc73l2m0qp56gvxwfjnx2vj8c0hh5i1gnq8";
    hash = "sha256-zq3o1hHmPXKnXSYrNCptyDa2+AqzjqX9WtRD4ve+LO0=";
  };

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [ samba ];
  buildInputs = [
    samba
  ];

  # Tests would require a local SMB server
  doCheck = false;
  pythonImportsCheck = [ "smbc" ];

  pythonImportsCheck = [
    "smbc"
  ];

  meta = with lib; {
    description = "libsmbclient binding for Python";