@@ -1,4 +1,6 @@
1−{ stdenv, buildPythonPackage, fetchPypi, cryptography, boto3, pyyaml, docutils, nose }:
1+{ stdenv, buildPythonPackage, fetchPypi, cryptography, boto3, pyyaml, docutils, nose
2+, fetchpatch
3+}:
24
35buildPythonPackage rec {
46 pname = "credstash";
@@ -9,6 +11,12 @@ buildPythonPackage rec {
911 sha256 = "6c04e8734ef556ab459018da142dd0b244093ef176b3be5583e582e9a797a120";
1012 };
1113
14+ patches = [
15+ (fetchpatch {
16+ url = "https://github.com/fugue/credstash/commit/9c02ee43ed6e37596cafbca2fe80c532ec19d2d8.patch";
17+ sha256 = "dlybrpfLK+PqwWWhH9iXgXHYysZGmcZAFGWNOwsG0xA=";
18+ })
19+ ];
1220 # The install phase puts an executable and a copy of the library it imports in
1321 # bin/credstash and bin/credstash.py, despite the fact that the library is also
1422 # installed to lib/python<version>/site-packages/credstash.py.