mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
parent
f9fcccaaf0
commit
a8cc51be4d
37
pkgs/development/tools/coder/default.nix
Normal file
37
pkgs/development/tools/coder/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user