mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
ff4a1cf4d8
Also updated source to the new repo and added myself as a maintainer
28 lines
839 B
Nix
28 lines
839 B
Nix
{ lib, fetchurl, buildPythonApplication, pbr, requests, setuptools }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "git-review";
|
|
version = "1.28.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 {
|
|
url = "https://opendev.org/opendev/${pname}/archive/${version}.tar.gz";
|
|
sha256 = "1y1jzb0hlprynwwr4q5y4x06641qrhj0k69mclabnmhfam9g8ygm";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pbr requests setuptools ];
|
|
|
|
# Don't do tests because they require gerrit which is not packaged
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://opendev.org/opendev/git-review";
|
|
description = "Tool to submit code to Gerrit";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ metadark ];
|
|
};
|
|
}
|