diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-05-20 19:00:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-05-20 19:00:00 -0500 |
commit | 463f25226c54515e7b0a122981bfc48fe9bd2e54 (patch) | |
tree | 75fc3d4e99935908826c6fc7d9a63392041a7b57 /pkgs/development/python-modules/fire | |
parent | f498dd772a01e0088c85a4580c6233d5f7b26ba6 (diff) |
pythonPackages.fire: fix python 3.7 build
Diffstat (limited to 'pkgs/development/python-modules/fire')
-rw-r--r-- | pkgs/development/python-modules/fire/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/fire/default.nix b/pkgs/development/python-modules/fire/default.nix index 70538407f2ee6..c44083e4c29a6 100644 --- a/pkgs/development/python-modules/fire/default.nix +++ b/pkgs/development/python-modules/fire/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchFromGitHub, six, hypothesis, mock +{ stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, six, hypothesis, mock , python-Levenshtein, pytest }: buildPythonPackage rec { @@ -20,6 +20,13 @@ buildPythonPackage rec { py.test ''; + patches = [ + # Add Python 3.7 support. Remove with the next release + (fetchpatch { + url = "https://github.com/google/python-fire/commit/668007ae41391f5964870b4597e41493a936a11e.patch"; + sha256 = "0rf7yzv9qx66zfmdggfz478z37fi4rwx4hlh3dk1065sx5rfksi0"; + }) + ]; meta = with stdenv.lib; { description = "A library for automatically generating command line interfaces"; |