From 630574ebb1849bf09b641f8cc23f999eb23cb55e Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 22 Feb 2018 09:57:39 -0600 Subject: [PATCH] grip: Add patch to render the 'front matter' like github does --- pkgs/top-level/python-packages.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f4a86bc8213..5b4c9c6f1ba 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4904,9 +4904,18 @@ in { rev = "v${version}"; sha256 = "1768n3w40qg1njkzqjyl5gkva0h31k8h250821v69imj1zimymag"; }; + + patches = [ + # Render "front matter", used in our RFC template and elsewhere + (pkgs.fetchpatch { + url = https://github.com/joeyespo/grip/pull/249.patch; + sha256 = "07za5iymfv647dfrvi6hhj54a96hgjyarys51zbi08c51shqyzpg"; + }) + ]; + buildInputs = with self; [ pytest responses ]; - propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests ]; + propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests tabulate ]; checkPhase = '' export PATH="$PATH:$out/bin"