summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/version-management/git-review
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-08-29 12:15:54 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-08-29 12:16:19 +0100
commit1bfda6a8c0efd24e02ae38aa669702f9aaf53702 (patch)
tree1ba66e36fbf81de8551b81e549e6ac399575f759 /pkgs/applications/version-management/git-review
parent2f73fd3eea61a562c0b420ee1c1796dd288307dd (diff)
git-review: fix build
Diffstat (limited to 'pkgs/applications/version-management/git-review')
-rw-r--r--pkgs/applications/version-management/git-review/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/git-review/default.nix b/pkgs/applications/version-management/git-review/default.nix
index a824b55fca84..c9251b987e93 100644
--- a/pkgs/applications/version-management/git-review/default.nix
+++ b/pkgs/applications/version-management/git-review/default.nix
@@ -8,12 +8,16 @@ pythonPackages.buildPythonApplication rec {
# upstream repository (and we are installing from tarball instead)
PBR_VERSION = "${version}";
+ postPatch = ''
+ sed -i -e '/argparse/d' requirements.txt
+ '';
+
src = fetchurl rec {
url = "https://github.com/openstack-infra/git-review/archive/${version}.tar.gz";
sha256 = "aa594690ed586041a524d6e5ae76152cbd53d4f03a98b20b213d15cecbe128ce";
};
- propagatedBuildInputs = [ pythonPackages.pbr pythonPackages.requests pythonPackages.argparse pythonPackages.setuptools ];
+ propagatedBuildInputs = with pythonPackages; [ pbr requests setuptools ];
# Don't do tests because they require gerrit which is not packaged
doCheck = false;