at 22.05-pre 885 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4 5# pythonPackages 6, pyasn1 7}: 8 9buildPythonPackage rec { 10 pname = "pysmb"; 11 version = "1.2.7"; 12 13 src = fetchPypi { 14 inherit pname version; 15 format = "setuptools"; 16 extension = "zip"; 17 sha256 = "298605b8f467ce15b412caaf9af331c135e88fa2172333af14b1b2916361cb6b"; 18 }; 19 20 propagatedBuildInputs = [ 21 pyasn1 22 ]; 23 24 # Tests require Network Connectivity and a server up and running 25 # https://github.com/miketeo/pysmb/blob/master/python3/tests/README_1st.txt 26 doCheck = false; 27 28 pythonImportsCheck = [ "nmb" "smb" ]; 29 30 meta = { 31 description = "Experimental SMB/CIFS library written in Python to support file sharing between Windows and Linux machines"; 32 homepage = "https://miketeo.net/wp/index.php/projects/pysmb"; 33 license = lib.licenses.zlib; 34 maintainers = with lib.maintainers; [ 35 kamadorueda 36 ]; 37 }; 38}