From b86aa55408e25f22c8b7f0f53ee5ae726d28afe7 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Wed, 23 May 2018 17:25:44 +0200 Subject: [PATCH] pythonPackages.pylibconfig2: 0.2.4 -> 0.2.5 (#40985) --- .../python-modules/pylibconfig2/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 20 +----------------- 2 files changed, 22 insertions(+), 19 deletions(-) create mode 100644 pkgs/development/python-modules/pylibconfig2/default.nix diff --git a/pkgs/development/python-modules/pylibconfig2/default.nix b/pkgs/development/python-modules/pylibconfig2/default.nix new file mode 100644 index 000000000000..6cea70c57089 --- /dev/null +++ b/pkgs/development/python-modules/pylibconfig2/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildPythonPackage, fetchPypi, pyparsing }: +buildPythonPackage rec { + pname = "pylibconfig2"; + version = "0.2.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "1iwm11v0ghv2pq2cyvly7gdwrhxsx6iwi581fz46l0snhgcd4sqq"; + }; + + # tests not included in the distribution + doCheck = false; + + propagatedBuildInputs = [ pyparsing ]; + + meta = with stdenv.lib; { + homepage = https://github.com/heinzK1X/pylibconfig2; + description = "Pure python library for libconfig syntax"; + license = licenses.gpl3; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b695372fe96a..bf2906be53f3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9887,25 +9887,7 @@ in { pybase64 = callPackage ../development/python-modules/pybase64 { }; - pylibconfig2 = buildPythonPackage rec { - name = "pylibconfig2-${version}"; - version = "0.2.4"; - - src = pkgs.fetchurl { - url = "mirror://pypi/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; - }; - }; + pylibconfig2 = callPackage ../development/python-modules/pylibconfig2 { }; pylibmc = callPackage ../development/python-modules/pylibmc {};