nixpkgs/pkgs/development/python-modules/pysmbc/default.nix

24 lines
551 B
Nix
Raw Normal View History

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