From 739a148ce320f0f5e6b50eeac40d7b19b0880a12 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 27 Feb 2020 10:28:13 -0500
Subject: [PATCH] Give git and the git metadata to the nix packaging process

versioneer needs both of these
---
 zkapauthorizer.nix | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/zkapauthorizer.nix b/zkapauthorizer.nix
index e23ddbc..abd0315 100644
--- a/zkapauthorizer.nix
+++ b/zkapauthorizer.nix
@@ -1,5 +1,5 @@
 { lib
-, buildPythonPackage, sphinx
+, buildPythonPackage, sphinx, git
 , attrs, zope_interface, aniso8601, twisted, tahoe-lafs, privacypass, treq
 , fixtures, testtools, hypothesis, pyflakes, coverage
 , hypothesisProfile ? null
@@ -18,11 +18,12 @@ buildPythonPackage rec {
   version = "0.0";
   pname = "zero-knowledge-access-pass-authorizer";
   name = "${pname}-${version}";
-  src = lib.cleanSource ./.;
+  src = ./.;
 
   outputs = [ "out" ] ++ (if collectCoverage then [ "doc" ] else [ ]);
 
   depsBuildBuild = [
+    git
     sphinx
   ];
 
-- 
GitLab