python3Packages.pysmbc: 1.0.21 -> 1.0.23

This commit is contained in:
Fabian Affolter 2021-02-19 14:08:18 +01:00
parent 8b166bcee0
commit 05ba4b06b7

View File

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