mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 22:03:13 +00:00
37 lines
833 B
Nix
37 lines
833 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
|
|
# pythonPackages
|
|
, pyasn1
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysmb";
|
|
version = "1.1.28";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
format = "setuptools";
|
|
extension = "zip";
|
|
sha256 = "0x44yq440c1j3xnl7qigz2fpfzhx68n9mbj7ps7rd0kj0plcmr2q";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|