format the repo files
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
stdenv
|
||||
} :
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
stdenv,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "corosync-qdevice";
|
||||
version = "3.0.3";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "corosync";
|
||||
repo = "corosync-qdevice";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9FyLhcGHNW73Xao7JiODzgyDKIynEAHJUlNppX+nPfw=";
|
||||
owner = "corosync";
|
||||
repo = "corosync-qdevice";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9FyLhcGHNW73Xao7JiODzgyDKIynEAHJUlNppX+nPfw=";
|
||||
};
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
nativeBuildInputs = with pkgs; [
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
@@ -23,21 +23,21 @@ stdenv.mkDerivation rec {
|
||||
systemd
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
buildInputs = with pkgs; [
|
||||
corosync
|
||||
nss
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--prefix=$out \
|
||||
--enable-systemd \
|
||||
--disable-upstart
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--prefix=$out \
|
||||
--enable-systemd \
|
||||
--disable-upstart
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make
|
||||
make
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# corosync-qdevice = pkgs.callPackage ./corosync-qdevice.nix {};
|
||||
{pkgs, ...}: {
|
||||
# corosync-qdevice = pkgs.callPackage ./corosync-qdevice.nix {};
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/nix/store/7azph9v0lqnb3imkgvdlb0p8j98wy5vy-corosync-qdevice
|
||||
Reference in New Issue
Block a user