Skip to content

Commit

Permalink
bootterm: init at 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
deadbaed committed Nov 1, 2024
1 parent 03b6d7f commit be21a88
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/by-name/bo/bootterm/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchFromGitHub,
testVersion,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "bootterm";
version = "0.5";

src = fetchFromGitHub {
owner = "wtarreau";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-AYpO2Xcd51B2qVUWoyI190BV0pIdA3HfuQJPzJ4yT/U=";
};

makeFlags = [ "PREFIX=$(out)" ];

passthru.tests = {
version = testVersion {
package = finalAttrs.finalPackage;
command = "${finalAttrs.meta.mainProgram} -V";
version = finalAttrs.version;
};
};

meta = with lib; {
description = "Simple, reliable and powerful terminal to ease connection to serial ports";
longDescription = ''
BootTerm is a simple, reliable and powerful terminal designed to
ease connection to ephemeral serial ports as found on various SBCs,
and typically USB-based ones.
'';
homepage = "https://github.com/wtarreau/bootterm";
license = licenses.mit;
mainProgram = "bt";
platforms = platforms.all;
};
})

0 comments on commit be21a88

Please sign in to comment.