From 9bc1b13983ae8da91295c00714a9dd40203e45bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 3 Sep 2018 01:20:50 +0100 Subject: [PATCH] python.pkgs.jaraco_logging: 1.5 -> 1.5.2 --- .../python-modules/jaraco_logging/default.nix | 14 ++++++++++++++ pkgs/top-level/python-packages.nix | 16 +--------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 pkgs/development/python-modules/jaraco_logging/default.nix diff --git a/pkgs/development/python-modules/jaraco_logging/default.nix b/pkgs/development/python-modules/jaraco_logging/default.nix new file mode 100644 index 000000000000..2aeb0dc3fa40 --- /dev/null +++ b/pkgs/development/python-modules/jaraco_logging/default.nix @@ -0,0 +1,14 @@ +{ buildPythonPackage, fetchPypi, setuptools_scm +, tempora, six }: + +buildPythonPackage rec { + pname = "jaraco.logging"; + version = "1.5.2"; + src = fetchPypi { + inherit pname version; + sha256 = "199pgwx9ziab3gxg6p0c24z8dp3bjpsvvshnmlph9zjsssq0xc93"; + }; + doCheck = false; + buildInputs = [ setuptools_scm ]; + propagatedBuildInputs = [ tempora six ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 93bf55127ac4..ba9dcb0868ed 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16998,21 +16998,7 @@ EOF ]; }; - jaraco_logging = buildPythonPackage rec { - name = "jaraco.logging-${version}"; - version = "1.5"; - - src = pkgs.fetchurl { - url = "mirror://pypi/j/jaraco.logging/${name}.tar.gz"; - sha256 = "1lvw9zphiymiiar47kd0x0dbc9x2jks8w1kirg3ff8nd80k95j05"; - }; - - doCheck = false; - - buildInputs = with self; [ setuptools_scm ]; - - propagatedBuildInputs = with self; [ tempora six ]; - }; + jaraco_logging = callPackage ../development/python-modules/jaraco_logging { }; jaraco_text = callPackage ../development/python-modules/jaraco_text { };