From 725442d69ca3d0f7c902626665fca83c01602ce3 Mon Sep 17 00:00:00 2001 From: frantathefranta Date: Fri, 1 Aug 2025 09:52:39 -0400 Subject: [PATCH] conman: init at 0.3.1 Adding this package along with a service. https://github.com/dun/conman/releases/tag/conman-0.3.1 Changes to conman package as per review Enabled parallel building for the conman package --- pkgs/by-name/co/conman/package.nix | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/co/conman/package.nix diff --git a/pkgs/by-name/co/conman/package.nix b/pkgs/by-name/co/conman/package.nix new file mode 100644 index 000000000000..2826c65f7276 --- /dev/null +++ b/pkgs/by-name/co/conman/package.nix @@ -0,0 +1,45 @@ +{ + lib, + freeipmi, + autoreconfHook, + pkg-config, + fetchFromGitHub, + tcp_wrappers, + stdenv, + expect, +}: +stdenv.mkDerivation (finalAttrs: { + pname = "conman"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "dun"; + repo = "conman"; + tag = "conman-${finalAttrs.version}"; + hash = "sha256-CHWvHYTmTiEpEfHm3TF5aCKBOW2GsT9Vv4ehpj775NQ="; + }; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInputs = [ + freeipmi # For libipmiconsole.so.2 + tcp_wrappers # For libwrap.so.0 + expect # For conman/*.exp scripts + ]; + + meta = { + description = "The Console Manager"; + homepage = "https://github.com/dun/conman"; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ + frantathefranta + ]; + }; + +})