92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
28 lines
666 B
Nix
28 lines
666 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "trunk-io";
|
|
version = "1.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://trunk.io/releases/launcher/${version}/trunk";
|
|
sha256 = "sha256-+A9FUqcxF/zji2QGD50avYSAib4sq8u6R50YzRailMc=";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
install -D $src $out/bin/trunk
|
|
'';
|
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://trunk.io/";
|
|
description = "Developer experience toolkit used to check, test, merge, and monitor code";
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ aaronjheng ];
|
|
};
|
|
}
|