mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
oxidized: fix ssh support (#425381)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
BUNDLE_BUILD__RUGGED: --with-ssh
|
||||
@@ -4,6 +4,16 @@
|
||||
bundlerApp,
|
||||
bundlerUpdateScript,
|
||||
nixosTests,
|
||||
libssh2,
|
||||
pkg-config,
|
||||
openssl,
|
||||
cmake,
|
||||
libgit2,
|
||||
icu,
|
||||
which,
|
||||
file,
|
||||
zlib,
|
||||
libyaml,
|
||||
}:
|
||||
|
||||
bundlerApp {
|
||||
@@ -17,17 +27,58 @@ bundlerApp {
|
||||
"oxs"
|
||||
];
|
||||
|
||||
gemConfig = {
|
||||
rugged = attrs: {
|
||||
buildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
libssh2
|
||||
openssl
|
||||
libgit2
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
buildFlags = [ "--with-ssh" ];
|
||||
};
|
||||
|
||||
charlock_holmes = attrs: {
|
||||
buildInputs = [
|
||||
icu
|
||||
zlib
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
which
|
||||
pkg-config
|
||||
file
|
||||
];
|
||||
};
|
||||
|
||||
psych = attrs: {
|
||||
buildInputs = [ libyaml ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
};
|
||||
};
|
||||
|
||||
passthru = {
|
||||
tests = nixosTests.oxidized;
|
||||
updateScript = bundlerUpdateScript "oxidized";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Network device configuration backup tool. It's a RANCID replacement";
|
||||
homepage = "https://github.com/ytti/oxidized";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nicknovitski ];
|
||||
teams = [ teams.wdz ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
nicknovitski
|
||||
liberodark
|
||||
];
|
||||
teams = with lib.teams; [ wdz ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user