nixpkgs/pkgs/development/tools/trunk-io/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
685 B
Nix
Raw Normal View History

2022-10-07 09:37:37 +01:00
{ lib, stdenv, fetchurl }:
2023-09-23 04:41:44 +01:00
stdenv.mkDerivation (finalAttrs: {
2022-10-07 09:37:37 +01:00
pname = "trunk-io";
2024-01-24 18:16:02 +00:00
version = "1.3.0";
2022-10-07 09:37:37 +01:00
src = fetchurl {
2023-09-23 04:41:44 +01:00
url = "https://trunk.io/releases/launcher/${finalAttrs.version}/trunk";
2024-01-24 18:16:02 +00:00
hash = "sha256-v9WJb9oIs5k2ZIX80L83dRtEarTiVsXBtXBta0sP++A=";
2022-10-07 09:37:37 +01:00
};
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 ];
};
2023-09-23 04:41:44 +01:00
})