coder: init at 0.12.4

Fixes #198207
This commit is contained in:
Colin Arnott 2022-11-07 17:19:41 +00:00
parent f9fcccaaf0
commit a8cc51be4d
No known key found for this signature in database
GPG Key ID: 0447A663F7F3E236
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ buildGoModule
, fetchFromGitHub
, installShellFiles
, lib
}:
buildGoModule rec {
pname = "coder";
version = "0.12.4";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-RqdnX0oYUmJAzF3FAKHOUNMY5m8FN63c4Z/VBfJrupI=";
};
# integration tests require network access
doCheck = false;
vendorHash = "sha256-3SStGCDpo+AS4PM9mbXM0EjsJ/3CVFQyb/NRK9RSZ3A=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion --cmd coder \
--bash <($out/bin/coder completion bash) \
--fish <($out/bin/coder completion fish) \
--zsh <($out/bin/coder completion zsh)
'';
meta = with lib; {
description = "Remote development environments on your infrastructure provisioned with Terraform";
homepage = "https://coder.com";
license = licenses.agpl3;
maintainers = with maintainers; [ urandom ];
};
}

View File

@ -16623,6 +16623,8 @@ with pkgs;
coan = callPackage ../development/tools/analysis/coan { };
coder = callPackage ../development/tools/coder { };
compile-daemon = callPackage ../development/tools/compile-daemon { };
complexity = callPackage ../development/tools/misc/complexity { };