Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
735 B
Nix
33 lines
735 B
Nix
{
|
|
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 = "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";
|
|
};
|
|
})
|