depot/third_party/nixpkgs/pkgs/development/python-modules/pysmbc/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
533 B
Nix

{ lib, buildPythonPackage, fetchPypi
, samba, pkg-config
, setuptools }:
buildPythonPackage rec {
version = "1.0.21";
pname = "pysmbc";
src = fetchPypi {
inherit pname version;
extension = "tar.bz2";
sha256 = "14b75f358ical7zzqh3g1qkh2dxwxn2gz7sah5f5svndqkd3z8jy";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ setuptools samba ];
meta = with lib; {
description = "libsmbclient binding for Python";
homepage = "https://github.com/hamano/pysmbc";
license = licenses.gpl2Plus;
};
}