depot/third_party/nixpkgs/pkgs/development/tools/trunk-io/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

28 lines
664 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "trunk-io";
version = "1.2.7";
src = fetchurl {
url = "https://trunk.io/releases/launcher/${version}/trunk";
hash = "sha256-i2m+6Y6gvkHYwzESJv0DkLcHkXqz+g4e43TV6u1UTj8=";
};
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 ];
};
}