@@ -1,4 +1,4 @@
1−{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi
1+{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, fetchpatch
22, mock
33, boto3, envs, python-jose, requests }:
44
@@ -14,6 +14,14 @@ buildPythonPackage rec {
1414 sha256 = "0gw3crg64p1zx3k5js0wh0x5bldgs7viy4g8hld9xbka8q0374hi";
1515 };
1616
17+ patches = [
18+ (fetchpatch {
19+ name = "fix-pip10-compat.patch";
20+ url = " https://github.com/capless/warrant/commit/ae17d17d9888b9218a8facf6f6ad0bf4adae9a12.patch";
21+ sha256 = "1lvqi2qfa3kxdz05ab2lc7xnd3piyvvnz9kla2jl4pchi876z17c";
22+ })
23+ ];
24+
1725 # this needs to go when 0.6.2 or later is released
1826 postPatch = ''
1927 substituteInPlace requirements.txt \