buildable corosync-qdevice

This commit is contained in:
Kabbone 2025-08-24 18:54:50 +02:00
parent cac8871e58
commit 9bf0ad396f
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,40 @@
#{ stdenv, fetchgit, corosync, nss } :
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation rec {
name = "corosync-qdevice";
version = "3.0.3";
src = pkgs.fetchFromGitHub {
owner = "corosync";
repo = "corosync-qdevice";
rev = "v${version}";
sha256 = "sha256-9FyLhcGHNW73Xao7JiODzgyDKIynEAHJUlNppX+nPfw=";
};
enableParallelBuilding = true;
nativeBuildInputs = with pkgs; [
nss
autoconf
automake
libtool
pkg-config
libqb
corosync
systemd
];
# buildInputs = with pkgs; [
# corosync
# ];
configurePhase = ''
./autogen.sh
./configure \
--prefix=$out \
--enable-systemd \
--disable-upstart
'';
buildPhase = ''
make
'';
}

1
packages/result Symbolic link
View File

@ -0,0 +1 @@
/nix/store/7azph9v0lqnb3imkgvdlb0p8j98wy5vy-corosync-qdevice