buildable corosync-qdevice
This commit is contained in:
parent
cac8871e58
commit
9bf0ad396f
40
packages/corosync-qdevice.nix
Normal file
40
packages/corosync-qdevice.nix
Normal 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
1
packages/result
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/7azph9v0lqnb3imkgvdlb0p8j98wy5vy-corosync-qdevice
|
Loading…
x
Reference in New Issue
Block a user