nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 45 lines 981 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pyasn1, 7 tqdm, 8}: 9 10buildPythonPackage rec { 11 pname = "pysmb"; 12 version = "1.2.13"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "miketeo"; 17 repo = "pysmb"; 18 tag = "pysmb-${version}"; 19 hash = "sha256-CLjpUkDCtAZyneM+KFTE1G1Q3NIRRw2sIytIv30ZUgI="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 pyasn1 26 tqdm 27 ]; 28 29 # Tests require Network Connectivity and a server up and running 30 # https://github.com/miketeo/pysmb/blob/master/python3/tests/README_1st.txt 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "nmb" 35 "smb" 36 ]; 37 38 meta = { 39 description = "Experimental SMB/CIFS library to support file sharing between Windows and Linux machines"; 40 homepage = "https://pysmb.readthedocs.io/"; 41 changelog = "https://github.com/miketeo/pysmb/releases/tag/${src.tag}"; 42 license = lib.licenses.zlib; 43 maintainers = with lib.maintainers; [ kamadorueda ]; 44 }; 45}