2019-12-28 09:58:31 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, pyasn1
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysmb";
|
2020-05-27 01:52:04 +02:00
|
|
|
version = "1.2.1";
|
2019-12-28 09:58:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
format = "setuptools";
|
|
|
|
extension = "zip";
|
2020-05-27 01:52:04 +02:00
|
|
|
sha256 = "1gkh28m74rf0ic51cxahiyw4sfz3sp3dz0iggsksi917ryyinwmb";
|
2019-12-28 09:58:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyasn1
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests require Network Connectivity and a server up and running
|
|
|
|
# https://github.com/miketeo/pysmb/blob/master/python3/tests/README_1st.txt
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Experimental SMB/CIFS library written in Python to support file sharing between Windows and Linux machines";
|
|
|
|
homepage = "https://miketeo.net/wp/index.php/projects/pysmb";
|
|
|
|
license = lib.licenses.zlib;
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
kamadorueda
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|