summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-12-15 20:37:50 -0800
committerJon <jonringer@users.noreply.github.com>2019-12-17 09:03:25 -0800
commitbc3fade573c8bfd49916b4afa3d00b37afe655ec (patch)
treef527f9dbe168f4871f0679b1791df658628a9700 /pkgs
parent401e101686793adb469512f2d614881b6ce5531b (diff)
downloadnixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.tar
nixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.tar.gz
nixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.tar.bz2
nixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.tar.lz
nixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.tar.xz
nixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.tar.zst
nixpkgs-bc3fade573c8bfd49916b4afa3d00b37afe655ec.zip
python3Packages.jaraco_text: 3.1 -> 3.2.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/jaraco_text/default.nix26
1 files changed, 21 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/jaraco_text/default.nix b/pkgs/development/python-modules/jaraco_text/default.nix
index 1d6ce78b685..9b3821edd7a 100644
--- a/pkgs/development/python-modules/jaraco_text/default.nix
+++ b/pkgs/development/python-modules/jaraco_text/default.nix
@@ -1,15 +1,31 @@
-{ buildPythonPackage, fetchPypi, setuptools_scm
+{ lib, buildPythonPackage, fetchPypi, pythonOlder
+, importlib-resources
 , jaraco_functools
+, setuptools_scm
 }:
 
 buildPythonPackage rec {
   pname = "jaraco.text";
-  version = "3.1";
+  version = "3.2.0";
+
   src = fetchPypi {
     inherit pname version;
-    sha256 = "0c7effed0f269e8bdae3374a7545763e84c1e7f9777cf2dd2d49eef92eb0d7b7";
+    sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5";
   };
+
+  nativeBuildInputs =[ setuptools_scm ];
+  propagatedBuildInputs = [
+    jaraco_functools
+  ] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];
+
+  # no tests in pypi package
   doCheck = false;
-  buildInputs =[ setuptools_scm ];
-  propagatedBuildInputs = [ jaraco_functools ];
+
+  meta = with lib; {
+    description = "Module for text manipulation";
+    homepage = "https://github.com/jaraco/jaraco.text";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ];
+  };
+
 }