Skip to content

Commit

Permalink
Merge pull request #11365 from nlewo/fix/git-review
Browse files Browse the repository at this point in the history
git-review: init at 1.25.0
  • Loading branch information
pSub committed Dec 5, 2015
2 parents 2a3e9df + e78fb0d commit 84b3af1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/applications/version-management/git-review/default.nix
@@ -0,0 +1,26 @@
{ stdenv, fetchurl, pythonPackages, python} :

pythonPackages.buildPythonPackage rec {
name = "git-review-${version}";
version = "1.25.0";

# Manually set version because prb wants to get it from the git
# upstream repository (and we are installing from tarball instead)
PBR_VERSION = "${version}";

src = fetchurl rec {
url = "https://github.com/openstack-infra/git-review/archive/${version}.tar.gz";
sha256 = "aa594690ed586041a524d6e5ae76152cbd53d4f03a98b20b213d15cecbe128ce";
};

propagatedBuildInputs = [ pythonPackages.pbr pythonPackages.requests2 pythonPackages.argparse pythonPackages.setuptools ];

# Don't do tests because they require gerrit which is not packaged
doCheck = false;

meta = {
homepage = "https://github.com/openstack-infra/git-review";
description = "Tool to submit code to Gerrit";
license = stdenv.lib.licenses.asl20;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -11836,6 +11836,10 @@ let
python = python27;
};

git-review = callPackage ../applications/version-management/git-review {
python = python27;
};

gitolite = callPackage ../applications/version-management/gitolite { };

inherit (gnome3) gitg;
Expand Down

0 comments on commit 84b3af1

Please sign in to comment.