mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
24 lines
691 B
Nix
24 lines
691 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gerrit";
|
|
version = "3.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://gerrit-releases.storage.googleapis.com/gerrit-${version}.war";
|
|
sha256 = "16zh2dczjnzwzrzg0xkqs7bfd6bzk7s42gyb59z3206zpvh5kq9k";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p "$out"/webapps/
|
|
ln -s ${src} "$out"/webapps/gerrit-${version}.war
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://www.gerritcodereview.com/index.md";
|
|
license = licenses.asl20;
|
|
description = "A web based code review and repository management for the git version control system";
|
|
maintainers = with maintainers; [ jammerful ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|