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
, 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 ];
};
}