9c6d255489
GitOrigin-RevId: 8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0
36 lines
844 B
Nix
36 lines
844 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
|
|
# pythonPackages
|
|
, pyasn1
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysmb";
|
|
version = "1.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
format = "setuptools";
|
|
extension = "zip";
|
|
sha256 = "0937cb44936805d403e8e678d7042feb6d85da950a7019e8ae6842a0720fb00c";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|