summary refs log tree commit diff
path: root/pkgs/development/python-modules/decorator
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-11-19 15:35:34 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-11-22 08:37:21 +0100
commit417f9a5b41357a5635cf76cbc788291695cf2684 (patch)
tree9e5c5be1005902d99ba57b46fb67008b5507bc57 /pkgs/development/python-modules/decorator
parent7d3992a16f33268dc1b5eee11a3bec769b6583f6 (diff)
downloadnixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.tar
nixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.tar.gz
nixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.tar.bz2
nixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.tar.lz
nixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.tar.xz
nixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.tar.zst
nixpkgs-417f9a5b41357a5635cf76cbc788291695cf2684.zip
python: decorator: 4.4.0 -> 4.4.1
Diffstat (limited to 'pkgs/development/python-modules/decorator')
-rw-r--r--pkgs/development/python-modules/decorator/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/decorator/default.nix b/pkgs/development/python-modules/decorator/default.nix
index b8c784023c2..f23d5929192 100644
--- a/pkgs/development/python-modules/decorator/default.nix
+++ b/pkgs/development/python-modules/decorator/default.nix
@@ -5,13 +5,17 @@
 
 buildPythonPackage rec {
   pname = "decorator";
-  version = "4.4.0";
+  version = "4.4.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "1pi54wqj2p6ka13x7q8d5zgqg9bcf7m5d00l7x5bi204qmhn65c6";
+    sha256 = "54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce";
   };
 
+  postPatch = ''
+    substituteInPlace src/tests/test.py --replace "DocumentationTestCase" "NoDocumentation"
+  '';
+
   meta = with lib; {
     homepage = https://pypi.python.org/pypi/decorator;
     description = "Better living through Python with decorators";