1{ stdenv, buildPythonPackage, fetchPypi
2, samba, pkgconfig
3, setuptools }:
4
5buildPythonPackage rec {
6 version = "1.0.18";
7 pname = "pysmbc";
8
9 src = fetchPypi {
10 inherit pname version;
11 extension = "tar.bz2";
12 sha256 = "5da8aef1e3edaaffb1fbe2afe3772ba0a5f5bf666a28ae5db7b59ef96e465bdf";
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}