Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
libevent,
|
|
krb5,
|
|
openssl,
|
|
perl,
|
|
pkg-config,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "remctl";
|
|
version = "3.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rra";
|
|
repo = "remctl";
|
|
rev = "release/${finalAttrs.version}";
|
|
hash = "sha256-4KzNhFswNTwcXrDBAfRyr502zwRQ3FACV8gDfBm7M0A=";
|
|
};
|
|
|
|
# Fix references to /usr/bin/perl in tests and
|
|
# disable acl/localgroup test that does not work in sandbox.
|
|
postPatch = ''
|
|
patchShebangs tests
|
|
sed -i '\,server/acl/localgroup,d' tests/TESTS
|
|
|
|
substituteInPlace Makefile.am \
|
|
--replace-fail "tests/data/acls/val\#id" "'tests/data/acls/val#id'"
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
perl
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
krb5
|
|
libevent
|
|
openssl
|
|
];
|
|
|
|
# Invokes pod2man to create man pages required by Makefile.
|
|
preConfigure = ''
|
|
./bootstrap
|
|
'';
|
|
|
|
makeFlags = [
|
|
"LD=$(CC)"
|
|
"REMCTL_PERL_FLAGS='--prefix=$(out)'"
|
|
"REMCTL_PYTHON_INSTALL='--prefix=$(out)'"
|
|
];
|
|
|
|
checkTarget = "check-local";
|
|
|
|
meta = with lib; {
|
|
description = "Remote execution tool";
|
|
homepage = "https://www.eyrie.org/~eagle/software/remctl";
|
|
mainProgram = "remctl";
|
|
license = licenses.mit;
|
|
teams = [ teams.deshaw ];
|
|
};
|
|
})
|