Commit 725442d6 authored by frantathefranta's avatar frantathefranta
Browse files

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
parent 5d75012b
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  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
    ];
  };

})