2017-09-29 20:15:52 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, samba, pkgconfig
|
|
|
|
, setuptools }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-16 10:43:13 +01:00
|
|
|
version = "1.0.18";
|
2017-09-29 20:15:52 +01:00
|
|
|
pname = "pysmbc";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "tar.bz2";
|
2019-10-16 10:43:13 +01:00
|
|
|
sha256 = "5da8aef1e3edaaffb1fbe2afe3772ba0a5f5bf666a28ae5db7b59ef96e465bdf";
|
2017-09-29 20:15:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ setuptools samba ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "libsmbclient binding for Python";
|
|
|
|
homepage = https://github.com/hamano/pysmbc;
|
2017-10-02 00:51:23 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2017-09-29 20:15:52 +01:00
|
|
|
};
|
|
|
|
}
|