Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 23 lines 551 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, samba, pkgconfig 3, setuptools }: 4 5buildPythonPackage rec { 6 version = "1.0.16"; 7 pname = "pysmbc"; 8 9 src = fetchPypi { 10 inherit pname version; 11 extension = "tar.bz2"; 12 sha256 = "62199b5cca02c05d5f3b9edbc9a864fb8a2cbe47a465c0b9461642eb3b6f5aca"; 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}