Skip to content

Commit

Permalink
git-review: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Aug 29, 2017
1 parent 2f73fd3 commit 1bfda6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/version-management/git-review/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1bfda6a

Please sign in to comment.