Skip to content

Commit

Permalink
pythonPackages.warrant: Fix compat with pip 10
Browse files Browse the repository at this point in the history
Fixes #41866
  • Loading branch information
adisbladis committed Jun 12, 2018
1 parent 4b649a9 commit 04d3e13
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/python-modules/warrant/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, fetchpatch
, mock
, boto3, envs, python-jose, requests }:

Expand All @@ -14,6 +14,14 @@ buildPythonPackage rec {
sha256 = "0gw3crg64p1zx3k5js0wh0x5bldgs7viy4g8hld9xbka8q0374hi";
};

patches = [
(fetchpatch {
name = "fix-pip10-compat.patch";
url = " https://github.com/capless/warrant/commit/ae17d17d9888b9218a8facf6f6ad0bf4adae9a12.patch";
sha256 = "1lvqi2qfa3kxdz05ab2lc7xnd3piyvvnz9kla2jl4pchi876z17c";
})
];

# this needs to go when 0.6.2 or later is released
postPatch = ''
substituteInPlace requirements.txt \
Expand Down

0 comments on commit 04d3e13

Please sign in to comment.