about summary refs log tree commit diff
path: root/pkgs/development/python-modules/apispec
diff options
context:
space:
mode:
authorAriel <ingenieroariel@gmail.com>2019-11-15 16:14:25 -0500
committerAriel <ingenieroariel@gmail.com>2019-11-17 21:44:15 -0500
commit7af3a955c968647e6ed92c55d93bb4d8cb26add1 (patch)
treefed2ad9efd2cf989e71e98b5626c4e20c8c5f110 /pkgs/development/python-modules/apispec
parenteffe7f8a09e9de4dd9b08d1bace3b7be7b13bb7b (diff)
apache-airflow: 1.10.3 -> 1.10.5, enable python
Includes misc fixes suggested during the PR process.
Diffstat (limited to 'pkgs/development/python-modules/apispec')
-rw-r--r--pkgs/development/python-modules/apispec/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/apispec/default.nix b/pkgs/development/python-modules/apispec/default.nix
index 6d4277a87d5b6..217a921a634eb 100644
--- a/pkgs/development/python-modules/apispec/default.nix
+++ b/pkgs/development/python-modules/apispec/default.nix
@@ -4,18 +4,18 @@
 , pyyaml
 , prance
 , marshmallow
-, pytest
+, pytestCheckHook
 , mock
 , openapi-spec-validator
 }:
 
 buildPythonPackage rec {
   pname = "apispec";
-  version = "2.0.2";
+  version = "3.1.0";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "11d1aaf620a80f67ded7688fcaf14fa4fd975d566876b5db69b067ffbfe4d1d9";
+    sha256 = "0rr32z9hbf8w4w1fs5gj2v0ixcq2vq7a3wssrlxagi5ii7ygap7y";
   };
 
   checkInputs = [
@@ -23,14 +23,10 @@ buildPythonPackage rec {
     prance
     openapi-spec-validator
     marshmallow
-    pytest
     mock
+    pytestCheckHook
   ];
 
-  checkPhase = ''
-    pytest
-  '';
-
   meta = with lib; {
     description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification";
     homepage = https://github.com/marshmallow-code/apispec;