My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pysmb/default.nix

38 lines
885 B

{ buildPythonPackage
, fetchPypi
, lib
# pythonPackages
, pyasn1
}:
buildPythonPackage rec {
pname = "pysmb";
version = "1.2.7";
src = fetchPypi {
inherit pname version;
format = "setuptools";
extension = "zip";
sha256 = "298605b8f467ce15b412caaf9af331c135e88fa2172333af14b1b2916361cb6b";
};
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;
pythonImportsCheck = [ "nmb" "smb" ];
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
];
};
}