Building fence-agents (confusion with automake/autoreconf/cmake)

I think you are missing pkg-config in nativeBuildInputs and some suggestion to make updating easier.

pkgs.stdenv.mkDerivation rec {
  pname = "fence-agents";
  version = "4.11.0";
...
    repo = "fence-agents";
    rev = "v${version}";
    sha256 = "sha256-yy/ONp4PzitF9Vet5dWmMJaoGaQhsqms9EbmQtawCvA=";
  };
...
  preConfigure = ''
    echo ${version} > .tarball-version
  '';
1 Like