nixpkgs/pkgs/by-name/kp/kplex/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
736 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";
};
})