Merge pull request #113683 from fabaff/bump-pysmbc

python3Packages.pysmbc: 1.0.21 -> 1.0.23
This commit is contained in:
Sandro 2021-02-21 00:16:10 +01:00 committed by GitHub
commit 9a9941e02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 8 deletions

View File

@ -1,23 +1,31 @@
{ lib, buildPythonPackage, fetchPypi
, samba, pkg-config
, setuptools }:
{ lib
, buildPythonPackage
, fetchPypi
, samba
, pkg-config
}:
buildPythonPackage rec {
version = "1.0.21";
pname = "pysmbc";
version = "1.0.23";
src = fetchPypi {
inherit pname version;
extension = "tar.bz2";
sha256 = "14b75f358ical7zzqh3g1qkh2dxwxn2gz7sah5f5svndqkd3z8jy";
sha256 = "1y0n1n6jkzf4mr5lqfc73l2m0qp56gvxwfjnx2vj8c0hh5i1gnq8";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ setuptools samba ];
buildInputs = [ samba ];
# Tests would require a local SMB server
doCheck = false;
pythonImportsCheck = [ "smbc" ];
meta = with lib; {
description = "libsmbclient binding for Python";
homepage = "https://github.com/hamano/pysmbc";
license = licenses.gpl2Plus;
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
};
}