uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
43
pkgs/tools/misc/upterm/default.nix
Normal file
43
pkgs/tools/misc/upterm/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildGo118Module
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildGo118Module rec {
|
||||
pname = "upterm";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "owenthereal";
|
||||
repo = "upterm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JcUFsj7+Hu++izyxozttyxTGW51vBfgNSvAa/AIrsvs=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
$out/bin/gendoc
|
||||
rm $out/bin/gendoc
|
||||
installManPage etc/man/man*/*
|
||||
installShellCompletion --bash --name upterm.bash etc/completion/upterm.bash_completion.sh
|
||||
installShellCompletion --zsh --name _upterm etc/completion/upterm.zsh_completion
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests) uptermd; };
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Secure terminal-session sharing";
|
||||
homepage = "https://upterm.dev";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hax404 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue