about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix19
1 files changed, 15 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix b/nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix
index 8f764f4d5ddc..d7ae5934d6d5 100644
--- a/nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/cookiecutter/default.nix
@@ -1,23 +1,32 @@
 { lib, buildPythonPackage, fetchPypi, isPyPy
-, pytest, pytest-cov, pytest-mock, freezegun
+, pytest, pytest-cov, pytest-mock, freezegun, safety, pre-commit
 , jinja2, future, binaryornot, click, jinja2-time, requests
 , python-slugify
 , pyyaml
+, arrow
+, rich
 }:
 
 buildPythonPackage rec {
   pname = "cookiecutter";
-  version = "2.1.1";
+  version = "2.3.0";
 
   # not sure why this is broken
   disabled = isPyPy;
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-85gr6NnFPawSYYZAE/3sf4Ov0uQu3m9t0GnF4UnFQNU=";
+    hash = "sha256-lCp5SYF0f21/Q51uSdOdyRqaZBKDYUFgyTxHTHLCliE=";
   };
 
-  nativeCheckInputs = [ pytest pytest-cov pytest-mock freezegun ];
+  nativeCheckInputs = [
+    pytest
+    pytest-cov
+    pytest-mock
+    freezegun
+    safety
+    pre-commit
+  ];
   propagatedBuildInputs = [
     binaryornot
     jinja2
@@ -26,6 +35,8 @@ buildPythonPackage rec {
     jinja2-time
     python-slugify
     requests
+    arrow
+    rich
   ];
 
   # requires network access for cloning git repos