From a1f1889f5567918adcd7f8097d95c2009da2c26f Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Fri, 29 Sep 2017 21:15:52 +0200 Subject: [PATCH] pysmbc: init at 1.0.15.8 --- .../python-modules/pysmbc/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/pysmbc/default.nix diff --git a/pkgs/development/python-modules/pysmbc/default.nix b/pkgs/development/python-modules/pysmbc/default.nix new file mode 100644 index 000000000000..bb3a65ae624c --- /dev/null +++ b/pkgs/development/python-modules/pysmbc/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi +, samba, pkgconfig +, setuptools }: + +buildPythonPackage rec { + version = "1.0.15.8"; + pname = "pysmbc"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + extension = "tar.bz2"; + sha256 = "07dzxfdqaj6zjg2rxxdww363bh8m02mcvgk47jw005cik9wc2rq5"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ setuptools samba ]; + + meta = with stdenv.lib; { + description = "libsmbclient binding for Python"; + homepage = https://github.com/hamano/pysmbc; + license = licenses.gplv2; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1c56fe5f1abe..5b42cf3a9c8a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16879,6 +16879,8 @@ in { pyshp = callPackage ../development/python-modules/pyshp { }; + pysmbc = callPackage ../development/python-modules/pysmbc { }; + pyspread = callPackage ../development/python-modules/pyspread { }; pyx = buildPythonPackage rec {