From 19f7cc8df222f6460110cb15bfcab99a3041ce53 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Wed, 7 Oct 2015 19:17:23 +0000 Subject: [PATCH] pythonPackages.pylibconfig: init at 0.2.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tests are disabled because they are not distributed within the distribution : ``` $ curl -s https://pypi.python.org/packages/source/p/pylibconfig2/pylibconfig2-0.2.4.tar.gz | tar tz | grep test $ curl -s https://codeload.github.com/heinzK1X/pylibconfig2/tar.gz/master | tar tz | grep test pylibconfig2-master/pylibconfig2/test/ pylibconfig2-master/pylibconfig2/test/__init__.py pylibconfig2-master/pylibconfig2/test/test.py ``` Distribution from pypi is prefered because the git repository do not have tags to clearly identify the various releases. --- pkgs/top-level/python-packages.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 41f5d5925893..4bab17af44d8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10369,6 +10369,26 @@ let propagatedBuildInputs = with self; [ unittest2 ]; }; + pylibconfig2 = buildPythonPackage rec { + name = "pylibconfig2-${version}"; + version = "0.2.4"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/p/pylibconfig2/${name}.tar.gz"; + sha256 = "0kyg6gldj6hi2jhc5xhi834bb2mcaiy24dvfik963shnldqr7kqg"; + }; + + doCheck = false; + + propagatedBuildInputs = with self ; [ pyparsing ]; + + meta = { + homepage = https://github.com/heinzK1X/pylibconfig2; + description = "Pure python library for libconfig syntax"; + license = licenses.gpl3; + }; + }; + pysftp = buildPythonPackage rec { name = "pysftp-${version}"; version = "0.2.8";