Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 541 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, samba, pkgconfig 3, setuptools }: 4 5buildPythonPackage rec { 6 version = "1.0.21"; 7 pname = "pysmbc"; 8 9 src = fetchPypi { 10 inherit pname version; 11 extension = "tar.bz2"; 12 sha256 = "14b75f358ical7zzqh3g1qkh2dxwxn2gz7sah5f5svndqkd3z8jy"; 13 }; 14 15 nativeBuildInputs = [ pkgconfig ]; 16 buildInputs = [ setuptools samba ]; 17 18 meta = with stdenv.lib; { 19 description = "libsmbclient binding for Python"; 20 homepage = "https://github.com/hamano/pysmbc"; 21 license = licenses.gpl2Plus; 22 }; 23}