-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
testers, | ||
}: | ||
|
||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "bootterm"; | ||
version = "0.5"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "wtarreau"; | ||
repo = "bootterm"; | ||
rev = "v${finalAttrs.version}"; | ||
hash = "sha256-AYpO2Xcd51B2qVUWoyI190BV0pIdA3HfuQJPzJ4yT/U="; | ||
}; | ||
|
||
makeFlags = [ "PREFIX=$(out)" ]; | ||
|
||
passthru.tests = { | ||
version = testers.testVersion { | ||
package = finalAttrs.finalPackage; | ||
command = "${finalAttrs.meta.mainProgram} -V"; | ||
}; | ||
}; | ||
|
||
meta = { | ||
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 = lib.licenses.mit; | ||
mainProgram = "bt"; | ||
maintainers = with lib.maintainers; [ deadbaed ]; | ||
platforms = lib.platforms.unix; | ||
}; | ||
}) |