kplex: init at 1.4
This commit is contained in:
parent
43dfca3054
commit
55961341e3
1 changed files with 32 additions and 0 deletions
32
pkgs/by-name/kp/kplex/package.nix
Normal file
32
pkgs/by-name/kp/kplex/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
lib,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "kplex";
|
||||||
|
version = "1.4";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stripydog";
|
||||||
|
repo = "kplex";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-sps9l238hGLJ673kewFH8fOJw0HphEkZbJ+VUIzxC+o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D -m 0555 kplex $out/bin/kplex
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A multiplexer for various nmea 0183 interfaces";
|
||||||
|
homepage = "https://www.stripydog.com/kplex/";
|
||||||
|
changelog = "https://www.stripydog.com/kplex/changes.html";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ mabster314 ];
|
||||||
|
mainProgram = "kplex";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in a new issue