git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.warrant: Fix compat with pip 10

Fixes #41866

commit04d3e130b8d11f046bae38be9731900e92cb0d1c authoradisbladis <adis@blad.is> dateTue 12 Jun 2018, 14:09 (8 years ago) parent4b649a9
1 file changed+9−1
pkgs/development/python-modules/warrant/default.nix+9−1
pkgs/development/python-modules/warrant/default.nix+9−1
@@ -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 \