pythonPackages.warrant: Fix compat with pip 10

Fixes #41866
This commit is contained in:
adisbladis 2018-06-12 14:09:31 +08:00
parent 4b649a99d8
commit 04d3e130b8
No known key found for this signature in database
GPG key ID: ED58F95069B004F5

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, fetchpatch
, mock
, boto3, envs, python-jose, requests }:
@ -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 \