From 14ed0f5fe0953c990d080abb97611bd0bf8cabf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 18 Mar 2018 12:53:48 +0100 Subject: [PATCH] pythonPackages.credstash: fix build This applies https://github.com/fugue/credstash/pull/178. --- pkgs/development/python-modules/credstash/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/credstash/default.nix b/pkgs/development/python-modules/credstash/default.nix index 6a9e1240b864..8be1780aa992 100644 --- a/pkgs/development/python-modules/credstash/default.nix +++ b/pkgs/development/python-modules/credstash/default.nix @@ -1,15 +1,20 @@ -{ stdenv, buildPythonPackage, fetchPypi, cryptography, boto3, pyyaml, docutils }: +{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, cryptography, boto3, pyyaml, docutils }: buildPythonPackage rec { - pname = "credstash"; + pname = "credstash"; version = "1.14.0"; - name = "${pname}-${version}"; src = fetchPypi { inherit pname version; sha256 = "718b337f7a6fa001e014386071f05c59900525d0507009126d2fe8d75fe0761d"; }; + patches = fetchpatch { + url = https://github.com/fugue/credstash/pull/178.patch; + sha256 = "15ih4h5v63g7qfmqdl4zca147wkcrx8vnsh4ns33001dipcfb5sc"; + excludes = [ ".travis.yml" ]; + }; + propagatedBuildInputs = [ cryptography boto3 pyyaml docutils ]; # No tests in archive